in reply to Re^2: Safely capturing the output of an external program
in thread Safely capturing the output of an external program
> Untainting might work though;
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
In Section
Seekers of Perl Wisdom