我用一个script A 调用 script B
Script A:
#do nothing but call B
ssh another-machine "/user/tom/b.sh"
Script B:
# do some fancy things, takes about 1 hour to finish
...
我用命令:
nohup a.sh &>/tmp/log &
A was "stopped" after 5 minutes but B was running and B finished correctly.
这是什么原因?我记得stopped是因为stdin/stderr? 这里好像没有问题啊?
而且我也没有ctrl-z。