What is scope of NOHUP?

When you nohup a program, are all other processes that generated by that program also "nohup'd"?

(as in a perl program with fork/exec?)
keithedwardAsked:
Who is Participating?

[Webinar] Streamline your web hosting managementRegister Today

x
 
jos010697Connect With a Mentor Commented:
Yes; after a fork, the new process inherits the same
signal handling masks as its parent. And luckily so,
because imagine what would happen if the following
shell script were issued:

   nohup sh foo

where foo contains a long pipeline of processes like:

   bar | baz | fred

kind regards,

Jos aka jos@and.nl
0
All Courses

From novice to tech pro — start learning today.