Use IPC::System::Simple capturex instead of capture
capturex avoids using the shell at all, which is the proper way to prevent shell meta-character injection. Also remove a comment that would use the shell if it were uncommented and changed from qq to qx. See-also: http://bonedaddy.net/pabs3/log/2014/02/17/pid-preservation-society/
Loading
Please register or sign in to comment