Skip to content
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

Cannot execute workon inside a subprocess #807

Closed
bouthilx opened this issue Feb 17, 2022 · 1 comment
Closed

Cannot execute workon inside a subprocess #807

bouthilx opened this issue Feb 17, 2022 · 1 comment
Milestone

Comments

@bouthilx
Copy link
Member

The Runner class tries to protect trial execution from sigint and sigterm signals using signal.signal but this fails when the Runner is being executed inside a child process.

In some cases a user may need to execute the Runner in a child process. It should be possible to do so although the protection would be lost. We should warn about the sigint and sigterm instead of crashing in such situation.

@Delaunay
Copy link
Collaborator

Delaunay commented Mar 3, 2022

Should be resolved now

@Delaunay Delaunay closed this as completed Mar 3, 2022
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

No branches or pull requests

2 participants