dimanche 8 février 2015

How to use nohup on os/x


The command



nohup <command> &


does not actually work properly on mac it seems: the process is suspended. Issuing



fg


appears to be required to reactivate the command.


Here is an illustration:



$nohup jekyll serve --watch &
[1] 47426
$appending output to nohup.out


[1]+ Stopped nohup jekyll serve --watch


Now, on Linux the process would not have been "stopped" by issuing that command..


So .. what is the way to achieve this on mac?





Aucun commentaire:

Enregistrer un commentaire