in reply to Re: Redirect output of the system() commandin thread Redirect output of the system() command
You never invoked a shell because you didn't pass a shell command to system
system('sh' => (
'-c' => '"$@" >/dev/null 2>&1',
This approach handles spaces and other special characters in file names and options.
No recent polls found