79481367

Date: 2025-03-03 15:25:05
Score: 1.5
Natty:
Report link

It turns out that in my case, simply replacing:

cd /to_some_file/ && nohup python3 run_process_1.py > /dev/null 2>&1 &

by:

cd /to_some_file/
nohup python3 run_process_1.py > /dev/null 2>&1 &

for the two processes solves the issue: the bash script now correctly terminates as expected.

Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: student_1