in reply to Re^2: Safely capturing the output of an external program
in thread Safely capturing the output of an external program
In this case I'd additionally surround arguments with 'singlequotes' .
Your untainting demo is explicitly forbidding quotes, in other cases escape them.
Cheers Rolf
(addicted to the Perl Programming Language :)
Wikisyntax for the Monastery
|
---|