I'm using NSTask on Windows NT 4 (SP4) to run some shell scripts. Most of the time the
scripts run to completion and the NSTask "terminates" as expected. However, about 20
percent of the time, the script appears to finish processing (the files it creates are
present in the filesystem), but the NSTask never terminates. Further, the browser
(Netscape) starts chewing 100% cpu right around the time that the script finishes.
When I attempt to stop the WOApp from running using Project Builder's "STOP" button,
PB says, "are you sure you want to stop XXX?" I click YES, and nothing happens. PB
thinks the process has stopped, but it is still running and the "STOP" button still
indicates that the program is running.
I remember folks on this list indicating that NSTask is broken on Solaris. We're
planning on deploying to Solaris in the next couple of months.
So my questions to Apple are:
Does NSTask work on Solaris?
If not, will it ever?
Does NSTask work on Windows NT?
If not, will it ever?
If so, any ideas why it isn't terminating?
Thanks to anyone who has any suggestions...