If you know you only can have one child process, you could just use:while (wait > -1) {};
wait;
In reply to Re: wait syntax for background process to complete
by pc88mxer
in thread wait syntax for background process to complete
by sonalig
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |