-
Notifications
You must be signed in to change notification settings - Fork 37
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
timemory-timem exits with no output on SIGINT #224
Comments
FYI @lneumarkt |
Which process are you referring to here: the timem process itself or the child process that timem is measuring? |
Upon re-reading, I am guessing you want to be able to do something like |
I think this will be closed by #225 |
Using
timem
for some very basic process monitoring is not currently possible whenever the process does not self-terminate but it is supervised and managed using signals instead.Judging by its code, I suspect this is simply because the handler for SIGINT is the default one, which terminates the process, but I may be missing something. Are there any objections against handling SIGINT (and perhaps SIGTERM) to ensure output files are flushed and closed properly?
The text was updated successfully, but these errors were encountered: