in reply to execute csh file from perl script
You should definitely read Csh programming considered harmful and then decide whether to use a Bourne-like shell instead or (better) to convert the whole thing to Perl thus avoiding the fork, the shell invocation, the parent problem, FD changes, output/error grabbing, etc.
|
|---|