Actions Workflow - Complete Job part terminating my process

In the workflow script I am calling a script which starts a process in my runner box. But the Complete Job part of workflow kills off that process “*Terminate orphan process: pid *”. I am starting the process by “nohup” but still it kills that process.


If a process exits with a non-zero exit status, then that is considered to be a failure unless you set continue-on-error: true for a step or job to ignore any errors. If that is not an option, for example, because you only want to ignore certain unclean exits, then you should do something like this in the shell code: command-that-fails || true (this should work at least in bash).