Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!ukma!gatech!ncar!tank!oddjob!matt From: matt@oddjob.uchicago.edu (Matt Crawford) Newsgroups: comp.unix.wizards Subject: Re: redirect stdin when using execl Message-ID: <3709@tank.uchicago.edu> Date: 7 Jun 89 21:35:05 GMT References: <414@sc50.UUCP> Sender: news@tank.uchicago.edu Reply-To: matt@oddjob.uchicago.edu (Matt Crawford) Followup-To: alt.flame Organization: Backwards R Us Lines: 8 In-reply-to: ron@sc50.UUCP ( Ron Winnacott ) In article <414@sc50.UUCP>, ron@sc50 ( Ron Winnacott ) writes: ) Can anyone tell me how to redirect stdin when I use execl ... ) execl("/bin/mail","mail","ron","<","/tmp/tfile",NULL); So help me, if I see even ONE answer to this question posted in comp.unix.WIZARDS, I'll scream! ________________________________________________________ Matt Crawford matt@oddjob.uchicago.edu