in reply to Re^2: How to execute a shell command from a CGI script
in thread How to execute a shell command from a CGI script

You are missing the more serious point. A null value is the least of your concerns, imagine what commands someone could make this run, and you execute them via sudo!

  • Comment on Re^3: How to execute a shell command from a CGI script