Hi all
i am facing a quite crucial problem i.e.

script one contains
"
 $cmd = "remsh  $remhost -l root \"sh -c /installP.pl $PATCHFILE $option
$ARGV[2] \" ";
print "system(\"$cmd\")";
system("$cmd ");
"

print "system(\"$cmd\")";
correctly prints

system("remsh  nnmhpt1 -l root "sh -c /installP.pl /patch.conf c  " ")
& system("$cmd "); actually calls installP.pl & runs it as well , but i
don't undersatand
why is it  not passing arguments (/patch.conf c ) as ARGV[0] & ARGV[1]
in the called script ( i.e. installP.pl ) ARGV[0]  appears as blank -
nothing

how to pass them - a really big & crucial problem ,
is problem because of "sh" or remsh or ??

please suggest me possible causes and/or solutions

thanks
pradeep

_______________________________________________
Perl-Unix-Users mailing list
[EMAIL PROTECTED]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

Reply via email to