10-29-05 10:51 PM
Robert Harris wrote:
> friend_05 wrote:
>
> You need to use popen.
In this case, is there any need to make a child??
Why not just:
tfd=open("tempfile"...);
if (tfd != -1)
{
if (tfd != 1)
{
dup2(tfd, 1);
close(tfd);
}
execl(....);
}
..error...
--
Clem
"If you push something hard enough, it will fall over."
- Fudd's first law of opposition
[ Post a follow-up to this message ]
|