Re: Pipes
- From: Alan Shutko <ats acm org>
- To: gtk-list redhat com
- Subject: Re: Pipes
- Date: 13 Jan 1999 21:23:01 -0600
>>>>> "A" == Andreas Scherf <scherfa@fh-trier.de> writes:
A> I have a problem with pipes, i want to write a piece of code that
A> close stdin and stdout and creates a pipe instead.
I had some trouble understanding your code, since the braces and
parens don't appear to be right, but I am not sure why you would want
to close stdin and stdout in the parent in the first place. The
easiest way to get them back is not to lose them in the first place.
(You could dup them somewhere and then dup them back, but I don't see
why you'd need to.)
--
Alan Shutko <ats@acm.org> - By consent of the corrupted
Weekend, where are you?
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]