I have a bash script which executes multiple python scripts.
For example:
python pyscript.py &> log1
python pyscript2.py &> log2
while executing this script, I found a few error in python script.
So I tried to kill process simply by ctrl-c, which did not work.
When I looked up at process by ps -ef pyscript*
, this single bash file made multiple process at once, which I did not expected it to be.
eventually I killed all processes by hand, but it was not a clean way to do.
Is there a reason that this bash script makes multiple process?
thanks in advance