Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
writing to stdout from a stopexecutable will eventaully cause the process to hang #218
This happens because the stop executable's stdout stream is redirected to the parent process but is never drained, thus eventually causing the stopexecutable's stdout writer to hang.
I recommend either setting these flags to false here:
Or actually consuming the processes stream and piping it to a log file.
For more info on how to redirect stdout from a process, see here: