WoodyWeaver has asked for the wisdom of the Perl Monks concerning the following question:
However, this no longer does the right thing. If I create a bash script withmy $command = "c:\\cygwin64\\bin\\rsync.exe -ashv -e plink $user\@$host:/var/log/s +a/sar* ."; print "Executing $command\n" if $DEBUG; my $retval = `$command`;
the right thing occurs (supplemented with ssh-pageant.) Is there a way programatically within perl to execute a command from within the cygwin environment? advTHANKSance, --woody#!/bin/bash rsync.exe -ashv weaverw@ROMSXLVB2B102:/var/log/sa/sar* .
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Running a cygwin command from within activestate
by salva (Canon) on Mar 09, 2015 at 08:27 UTC | |
|
Re: Running a cygwin command from within activestate
by AppleFritter (Vicar) on Mar 08, 2015 at 23:09 UTC | |
by WoodyWeaver (Monk) on Mar 08, 2015 at 23:24 UTC | |
by dasgar (Priest) on Mar 09, 2015 at 00:56 UTC | |
|
Re: Running a cygwin command from within activestate
by Anonymous Monk on Mar 08, 2015 at 23:29 UTC |