Mark Mitchell wrote: >Cygwin Xterm >============ >parent spawn: Pops up DOS window. >parent nostd: No output from child. >parent std: Works. > >DOS Console >=========== >parent spawn: Works. >parent nostd: No output from child. >parent std: No output from child.
This is what I got using your code and Cygwin rxvt: Cygwin rxvt =========== parent spawn: Works. parent nostd: No output from child. parent std: Works. I wasn't able to test it with xterm, I don't have an X server handy, but it looks your problem is with xterm, not gcc. Ross Ridge