in reply to Re: Re: redirect STDOUT from system() function
in thread redirect STDOUT from system() function
Uncommenting the appropriate line makes it work, at least on my box. Depending on what's tainted, you may have to do a little more work.#!/usr/bin/perl -wT use strict; # delete $ENV{qw( BASH_ENV PATH )}; my $output = `/bin/ls`; print "Output is ($output)\n";
|
|---|