[ This was meant as a reply to Re: How I'm sure syswrite has finished? ]
if the parent is doing something after the for loop to cause the ssh processes to terminate.
I think it's simpler than that. When the parent exits, doesn't that kill the children? Calling wait_all_children is still the solution as that would make sure the children are done.
In reply to Re: How I'm sure syswrite has finished?
by ikegami
in thread How I'm sure syswrite has finished?
by casiano
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |