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.
In reply to Re^3: How to make a thread to wait till a command on shell get completed.
by BrowserUk
in thread How to make a thread to wait till a command on shell get completed.
by techman2006
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |