Noame has asked for the wisdom of the Perl Monks concerning the following question:
Please advice. Thanks.my $buildCMD = "$sshCMD \"perl $VM_HOME/genMakeFiles.pl " . "-u $ST_USER " . "-p $ST_PASSWORD " . "-v $ST_VIEW " . "-l $ST_LABEL\""; print "-I- $buildCMD"; my $counter = 1; open (CMD, "$buildCMD | ") or die "\n-E- system '$buildCMD' failed: ($ +?) ($!)"; while (<CMD>) { print "$_\n"; sleep 1; $counter++; if ($counter < 180) { print "\n\n-E- Failed to generate MAKE file ¡V Exiting. \n"; exit 1; } }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: SSH Qustion
by Anonymous Monk on Apr 16, 2009 at 11:10 UTC | |
by Noame (Beadle) on Apr 19, 2009 at 11:41 UTC | |
|
Re: SSH Qustion
by Bloodnok (Vicar) on Apr 16, 2009 at 11:31 UTC | |
|
Re: SSH Qustion
by cdarke (Prior) on Apr 16, 2009 at 13:54 UTC | |
by Noame (Beadle) on Apr 19, 2009 at 06:32 UTC |