in reply to System call constantly dying
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...
|
|---|