Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

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

by BrowserUk (Patriarch)
on Dec 02, 2013 at 08:38 UTC ( #1065255=note: print w/replies, xml ) Need Help??


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

Basically I am using back tick operator due to which multiple instance of gzip get triggered as the thread is not waiting for the shell to return.

Backticks also block. (Unless you are deliberately backgrounding the command, in which case, don't do that!)

Post your failing code and you'll get help.


With the rise and rise of 'Social' network sites: 'Computers are making people easier to use everyday'
Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
"Science is about questioning the status quo. Questioning authority".
In the absence of evidence, opinion is indistinguishable from prejudice.
  • Comment on Re^3: How to make a thread to wait till a command on shell get completed.

Log In?
Username:
Password:

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

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

    No recent polls found

    Notices?