For a command like cp perl will wait in my experience. If you are worried about this you can pause your script for a second (or whatever time it usually takes plus some seconds for good measure) to make certain the shell command is finished. But also check the return value (with the system call this is relatively easy), just in case.
HTH,
jynx
In reply to Re: Re: Re: Frustrated with system calls
by jynx
in thread Frustrated with system calls
by dorpus
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |