Re: MacOS X error: some puts() data never sees output
Re: MacOS X error: some puts() data never sees output
- Subject: Re: MacOS X error: some puts() data never sees output
- From: "Steven M.Palm" <email@hidden>
- Date: Mon, 10 Mar 2003 16:42:30 -0600
A side note here...
After digging through the code of the app I'm spawning (I didn't write
this part), I see that it is forking off another process, and it
communicates with that via a set of pipes which are STDIN/STDOUT to the
forked process, but obviously the spawning process uses the other ends
of them to read/talk to it.
It is the output of this second, forked process that is not making
back to the NSTask invocation. However, the forked process is *working*
in the background, doing everything it is supposed to do, except
getting data to me.
How does one track this sort of thing down?
On Monday, March 10, 2003, at 03:14 PM, Steven M.Palm wrote:
I'm getting an error that's driving me nuts. I'm still working on
wrapping the command line program inside a Cocoa gui interface.
Everything was going great, and then all of a sudden I stopped getting
feedback from the command line program. I rebuilt the whole project,
nothing.
I ran the version of the command line program which had been compiled
and tested much earlier from within Terminal.app, and it also is not
giving me the output. HUH? It *used to*, and it hasn't been touched.
Is this some kind of system problem? If so, is there a way around it?
I know this sounds strange, and you will all probably ignore this, but
I am at a loss....
-----------------------
- Steven M. Palm
- Ham Radio Call: N9YTY
- Attempts to make thine own star shine shall lead thee into darkness.
-----------------------
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.
-----------------------
- Steven M. Palm
- Ham Radio Call: N9YTY
- Attempts to make thine own star shine shall lead thee into darkness.
-----------------------
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.