Closed sachin-walia closed 9 years ago
Also my development OS is Mac OS X Yosemite in case if this helps.
Move process.wantWrite()
to onStart()
method. Simple race condition where onStdout()
is being called quickly, before the process.wantWrite()
has a chance to execute.
Brett is there any overhead in moving process.wantWrite to onStart? Also do you anticipate any kind of race conditions for invoking large number of same system processes?
Thanks.
@sachinwalia2k8 There should be no overhead in moving the wantWrite() call. I do not anticiptate any race conditions invoking a large number of the same process, so if you encounter one please report it here as a bug.
My use case is as follows:
After first execution of external process I am getting following exception (subsequent execution failed):
Here is how the invocation of NuProcess looks like:
Also my implementation of ProcessHandler