This is the mail archive of the
mailing list for the Cygwin project.
Re: subprocess i/o interaction with shell (bash&cmd): shells competefor input with user program!
Sam Steingold wrote:
I am not using fork().If thats the case then the exec() you are linking is not behaving as a
POSIX exec() call, because if it did you would not still have two
processes to even compete for the I/O streams. The first process image
would be "replaced" by the second.
just plain exec().
% man execl
"The exec family of functions replaces the current process image with a
So, either you are not using Cygwin execl(), or it is VERY broken, which
I doubt because too many applications have been working correctly for
too long for the second to be the case.
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html