- a.pl
- [lahotip@vnc10 ~]$ cat a.pl
- #! /usr/bin/local/perl
- system "b.pl &";
- system "b.pl &";
- system "b.pl &";
- system "b.pl &";
- system "b.pl &";
- ------------------------------
- b.pl
- [lahotip@vnc10 ~]$ cat b.pl
- #!/usr/local/bin/perl -w
- print "hi from b.pl" . "\n";
- sleep (60);
- -------------------------------
- Launched as -
- > ssh <hostname> a.pl
- *does not exit and waits for all the 5 b.pl instances to finish, whereas a.pl has exited*
SHARE
TWEET
Untitled
a guest
Jul 27th, 2015
184
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
RAW Paste Data
