Basicly, exec replaces your process with the one you are execing, so you never make it back to your loop.The "exec" function executes a system command and never returns-- use "system" instead of "exec" if you want it to return.
In reply to Re: Problems executing a copy command on win32
by Paladin
in thread Problems executing a copy command on win32
by DaWolf
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |