in reply to Control not coming back to perl script
Hi,
Thanks for the reply.
I have not tried routing the output to null, > /dev/null. I'll test it from my side and update later.
I thought that the control might not return. So, I put all the commands in temp file, $mycmdfile. Then I used batch mode to run the command. It looks something like this --
my @lines = qx/"D:\\plink -ssh $myhash{ROLE_ACCNT}\@$myhash{OSESSRVRS} -i $myhash{KEY} -t -batch < $mycmdfile"/;Thanks, Partho
|
|---|