You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm using processx to run several long-lived (i.e. weeks or months) processes on Windows 10, including capturing their output.
After a while, child processes end up in a state where I don't seem to be able to kill them (from the main process), they don't seem to be able to produce output and I end up with the following errors in the main process output:
An error occurred when writing to the named pipe. (system error 232, The pipe is being closed.
) @win/named_pipe.c:135 (processx_write_named_pipe)>
in process
I may well be doing something wrong. Any thoughts?
The text was updated successfully, but these errors were encountered:
No worries at all, no rush at my end. It could also help if you could show some (possibly simplified) version of your code, even if it does not reproduce the problem for a long time.
I did some searching, and there is a very small chance that it is this: https://stackoverflow.com/a/43070326/604364
I say very small, because I am pretty sure that processx handles reading no data from the pipe properly.
If I had to guess I would say that it is probably a race condition in processx, but some code could help me make a better guess.
I'm using processx to run several long-lived (i.e. weeks or months) processes on Windows 10, including capturing their output.
After a while, child processes end up in a state where I don't seem to be able to kill them (from the main process), they don't seem to be able to produce output and I end up with the following errors in the main process output:
I may well be doing something wrong. Any thoughts?
The text was updated successfully, but these errors were encountered: