I'm trying to run a perl script that is located in a remote linux server from windows using the python program. I'm using the subprocess.call
method.
This is the python line of code
returnCd = subprocess.call(['plink', '-ssh', \
'%s@%s' %('******','*****.***.com'), '-pw', '****', \
'perl', '/apps/CACSGDEV/springbatch/perlscript/DEBTOR_VERIFICATION.pl'], \
shell=True)
And this is what i see in the console (broken over lines for readability)
Can't locate ENVRC.pl in @INC (@INC contains: /usr/local/lib64/perl5 /usr/local/share/perl5 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5 .) at /apps/CACSGDEV/springbatch/perlscript/DEBTOR_VERIFICATION.pl line 16.
The file DEBTOR_VERIFICATION.pl
has the following @ line 16
require "ENVRC.pl";
The file ENVRC.pl
is in the same path as that of the DEBTOR_VERIFICATION.pl
. Can anyone please suggest?