If I do
nohup cmd1 | cmd2 &
is that the same as
nohup \"cmd1 | cmd2\" &
?
I would like th
No, you need to add the nohup to the commands separately.
Something like this is recommended:
nohup sh -c "cmd1 | cmd2" &
Or alternatively:
nohup $SHELL <