[comp.windows.x] reading from pipe causes my Xt based app to exit.

jtsillas@bubba.ma30.bull.com (James Tsillas) (03/16/91)

Hi, I've run into a strange problem while porting the recent posting
of xxgdb to our SystemV 68k box. I'm using getcwd to emulate the calls
to getwd, but our implementation uses popen on 'pwd'. Whenever I tested
the program it mysteriously exited on the getcwd call. No errors, just
exited. I worked arounf getcwd using a call to system(2) but I got the
same results. It seems that system(2) may also be implemented with
pipes. 

Where is the problem here? Does the Xt-initialization cause our pipes
to fail? Has anyone seen anything like this? HELP!

in a state of silent anxiety,
-Jim.
--
 == James Tsillas                    Bull HN Information Systems Inc. ==
 == (508) 294-2937                   300 Concord Road   826A          ==
 == jtsillas@bubba.ma30.bull.com     Billerica, MA 01821              ==
 ==                                                                   ==
 == The opinions expressed above are solely my own and do not reflect ==
 == those of my employer.                                             ==
		    -== no solicitations please ==-