I spawn a single process that I expect to run for a long time. The child process does not spawn other children. It does run without any problems or errors, until the process monitoring it starts reporting that it has exited:
Here is the the function that starts reporting false when the process in fact is still happy and running:
Am I forgetting to check something or setting something incorrectly? I have looked through the list of gotchas and don't see anything obvious that would tell me what could be going wrong. Any help would be greatly appreciated.
I spawn a single process that I expect to run for a long time. The child process does not spawn other children. It does run without any problems or errors, until the process monitoring it starts reporting that it has exited:
Here is the the function that starts reporting
false
when the process in fact is still happy and running:Am I forgetting to check something or setting something incorrectly? I have looked through the list of gotchas and don't see anything obvious that would tell me what could be going wrong. Any help would be greatly appreciated.