We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
cygpath
nc -w
1 parent b723249 commit bedf7deCopy full SHA for bedf7de
hack/test-port-forwarding.pl
@@ -169,6 +169,9 @@
169
# Try to reach each listener from the host
170
foreach my $test (@test) {
171
next if $test->{host_port} == $sshLocalPort;
172
+ if ($test->{host_socket} ne "" && $Config{osname} eq "MSWin32") {
173
+ $test->{host_socket} = qx(cygpath $test->{host_socket});
174
+ }
175
my $nc = $test->{host_socket} eq "" ? "nc -w 1 $test->{host_ip} $test->{host_port}" : "nc -w 1 -U $test->{host_socket}";
176
open(my $netcat, "| $nc") or die "Can't run '$nc': $!";
177
print $netcat "$test->{log_msg}\n";
0 commit comments