We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Launch clean up action in case monet is interrupted by keyboard
The text was updated successfully, but these errors were encountered:
I was going to try a simple trapping: https://rimuhosting.com/knowledgebase/linux/misc/trapping-ctrl-c-in-bash
Unfortunately this does not work for docker: once the docker run command is invoked by MONET, control passes to docker, which cannot be killed by Ctrl-C: https://stackoverflow.com/questions/54946227/how-to-exit-and-kill-the-running-docker-container-with-ctrlc
Sorry, something went wrong.
instead of trapping Ctrl-C, I added an option to kill containers the "docker way" (i.e. using docker stop). 54a4930
Trickier for singularity, I can't find any "stop" command. https://stackoverflow.com/questions/59791791/stopping-a-singularity-container
Resorted to keeping track of monet's pid and killing that. 9ee778e
Ready for testing.
Joan and Sergio are going to test this.
mattiat
No branches or pull requests
Launch clean up action in case monet is interrupted by keyboard
The text was updated successfully, but these errors were encountered: