Skip to content

Conversation

@tinchodias
Copy link
Contributor

Hello, I made this change in an scenario where I saved my image with a pointer to the subprocess, and when reopened the image the subprocess was not really running but the testing method isRunning returned true anyway.

But maybe we want to keep the behavior of isRunning and add a new isCurrentlyRunning or something like that.

The method I found to check if the process was really running was to use waitpid with WNOHANG option to know if the child process is running. See: https://man7.org/linux/man-pages/man3/wait.3p.html

@tinchodias tinchodias requested a review from demarey December 19, 2025 11:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants