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:54:09 -0600
Thanks to those who suggested the fflush calls, but I've already tried
them. The output just never makes it.
The process getting forked is a network responder type application, and
it keeps functioning. It almost seems as though there is a phantom
process out there handling the requests, but obviously not tied via
pipes to the process I spawn via NSTask. However, I can never find one
despite intensive digging around. Also, the spawned process should
realize that the network port would be in-use when it's tried to be
respawned (assuming there was a phantom), but I never see that problem
either.
On Monday, March 10, 2003, at 04:17 PM, Henry McGilton wrote:
On Monday, March 10, 2003, at 01: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....
only thing that comes to mind immediately is that you might
want to do a fflush on standard out . . .
-----------------------
- 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.