in reply to Re^2: Safely passing CGI form data to a shell command
in thread Safely passing CGI form data to a shell command

fork and exec is just what qx// does (w/o the shell thing).

Calling exec with out forking would not let you capture and postprocess the command output... actually the command output would be sent to the remote browser!

  • Comment on Re^3: Safely passing CGI form data to a shell command