Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

Re^2: How to make a thread to wait till a command on shell get completed.

by techman2006 (Beadle)
on Dec 02, 2013 at 15:39 UTC ( #1065302=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    use strict;
    use warnings;
    ...
    $destDir = shift;
    Create($srcDir, $destDir);
    
  2. or download this
    [root@localhost trunk]# ps -eaf | grep "tar -zcf"
    root      1962 28983  0 19:54 pts/0    00:00:00 tar -zcf /root/dump//t
    +emp/Test2444.tar.gz -C /root/tests -T /root/dump//temp/48DEB775
    ...
    root      2663  2583  4 19:55 pts/0    00:00:00 gzip
    root      2691 25225  0 19:55 pts/1    00:00:00 grep gzip
    root      2700  2665  0 19:55 pts/0    00:00:00 gzip
    

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1065302]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others examining the Monastery: (4)
As of 2023-11-30 04:06 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?