Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 230
  • Last Modified:

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?)
0
keithedward
Asked:
keithedward
1 Solution
 
jos010697Commented:
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

Featured Post

Hire Technology Freelancers with Gigs

Work with freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely, and get projects done right.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now