system PROGRAM LIST Does exactly the same thing as exec LIST , except that a fork is done +first,
This fork is why "the system call never waits for the conversion to happen"
Perldoc also provides a way to wait for return :
system(@args) == 0 or die "system @args failed: $?"
In reply to Re: Sytem Call Not Waiting
by ZlR
in thread Sytem Call Not Waiting
by jai_dgl
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |