I am working with a c++ application which fires off a system command that launches a RSH sequence such as:
rsh MACHINE \"setenv DISPLAY machine:0;setenv TESTVALUE1 'test';setenv scenTime 0;setenv simName 'name';/devel/test/run.sh\"
The problem is that this code is csh specific and my shell is bash. So commands such as setenv variable value need to be export variable=value etc.
My question is there a way for rsh to be told to use a specific shell and not read the users profile or login files?
Aucun commentaire:
Enregistrer un commentaire