in reply to Re^2: system command not working after connection with cgi breaks
in thread system command not working after connection with cgi breaks

To elaborate, you should append " >/dev/null" to your system command strings (but in the last case insert it before the &).

Here's some basics on I/O redirection: Standard Input and Output Redirection