Detaching Shell Commands - Take Two
April 10th, 2009
I previously made a note about how one can close standard input to detach a shell command from the terminal. I recently discovered the nohup command, which has a similar purpose.
The nohup command seems to emulate an attached process better. I ran across some obscure behaviour where ffmpeg would fail to decode a video file if standard input was closed, but not if it was left attached to a terminal or if nohup was used.
Sorry, comments are closed for this article.