Hello, fixed !
Now we destroy the container if it gets stuck for some reason after a timeout.
check the last version github.com/zakariamaaraki/RemoteCo...
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
!/usr/bin/env bash
ulimit -s 5
timeout --signal=SIGTERM 5 python3 test.py
exit $?
the above code doesn't seem to stop the python script. I tried with an infinite loop code in test.py
Hello, i'll look at it
Hello, fixed !
Now we destroy the container if it gets stuck for some reason after a timeout.
check the last version github.com/zakariamaaraki/RemoteCo...