in reply to Unable to get a tcshell command line working in PERL v5 system command
You mention tcsh, but system uses sh no matter what the parent or default shell is. You can bypass sh by using the system LIST form to run tcsh explicitly.
my $cmd_for_tcsh = 'cleartool ...'; system('tcsh', '-c', $cmd_for_tcsh);
|
|---|