system normally sets $?, not $! (except on failure to start the program, in which case system returns -1). Also, it returns the exit code (return value of the wait call) of the called program, which is typically zero upon success...
In reply to Re: System call constantly dying
by almut
in thread System call constantly dying
by gokuraku
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |