in reply to setting up a csh from perl
It sounds like you have the whole picture:open CSH, "| csh -f -DHOME=new -DPATH=." || die "Open failed";
Be well,my $child = fork; die "Fork failed" if not defined $child; if ( $child ) { # parent stuff } else { #child %ENV = ( what => 'ever', you => 'need' ); exec( ... ) || die "exec failed: $!"; }
|
|---|