Hello
I am wondering whether there is any control as to the shell within a system() invocation inside a perl script. More specifically, please look at the following code extract:
#!/bin/ksh . /env.ksh exec $PERL -w -x "$0" "$@" #!perl #line 6 ... system("shellFunction"); ...
The intent is to have the settings of env.ksh available for the invocation of shellFunction, i.e. shellFunction is defined in env.ksh. So far I only see a naked sh as the shell that tries to run shellFunction.
Thanks for the help, Claudius
In reply to shell within system() call by claudius
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |