I am setting env variables using *.csh
file to current terminal. When I use system("/bin/tcsh *.csh")
in the perl script, the *csh
file executing but not setting any env variables to current terminal.
When I use system("/bin/tcsh *.csh")
in the perl script, the *csh
file executing but not setting any env variables to current terminal.
sub veloce_env_setup_sub {
printf "\n\n\t -veloce_env_setup option enabled\n";
system("/bin/tcsh /proj/I2BZA1/users/ssudi/SCRIPTS/veloce_env/vlab_4p4p0/veloce_setup.csh");
}
Expected: env variables should set to current terminal after sourcing
*.csh
file.Actual results: only prints are comming but not setting env variables to current terminal.