Try running it within a Capture::Tiny compartment.
use Capture::Tiny qw( capture ); use Shell::Source; my $csh; my( $stdout, $stderr, @result ) = capture { $csh = Shell::Source->new( shell => "csh", file => "$ENV{Home}/.cshrc" ); $csh->inherit; };
(This is an untested suggestion.)
Dave
In reply to Re: Shell Source
by davido
in thread Shell Source
by doubledecker
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |