![]() |
|
There's more than one way to do things | |
PerlMonks |
Re: How to make a thread to wait till a command on shell get completed.by BrowserUk (Patriarch) |
on Dec 02, 2013 at 07:02 UTC ( #1065233=note: print w/replies, xml ) | Need Help?? |
If you run a command (shell or otherwise) using system, the program will block until system returns. If the program calling system is a single threaded program, that single thread will block. If the program is a multi-threaded program, whichever thread calls system will block. Now what is your problem? 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.
In Section
Seekers of Perl Wisdom
|
|