Quantcast
Channel: Perl – Nicholas Dille
Viewing all articles
Browse latest Browse all 19

Child Processes

$
0
0

The following code snipplet defines two functions: childrenOf: Accepts a process ID and produces a list of child process IDs. Usage: PIDS="$(childrenOf ${SOME_PID})" allChildrenOf: Recursively produces a list of child process IDs for a given process ID. This function needs childrenOf to be defined. Usage: PIDS="$(allChildrenOf ${SOME_PID})" [crayon-56da67a7ec09f828420095/]

The post Child Processes appeared first on Nicholas Dille.


Viewing all articles
Browse latest Browse all 19

Latest Images

Trending Articles



Latest Images