This is the mail archive of the cygwin mailing list for the Cygwin project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
Stephen Studley wrote:
At 4:30 PM -0500 11/18/04, Igor Pechtchanski wrote:perl -we 'my $str=`ssh -n user\@machine.domain ls`;print "[$str]\n"'good idea, however same results, at least from my Windows machine. The command-line perl works fine from my OSX machine.
$ perl -we 'my $str=`ssh -n user\@machine.domain ls`;print "[$str]\n"' ssh: machine.domain: no address associated with name []
Actually this is working with cygwin perl as expected.
I have come up with a work around. The following gets me what I need. system "$commands->[$i] 1> $stdout->[$p] 2> $stderr->[$p]";
-- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |