Do not use quotemeta to escape arguments on win32.
Ref pandora_enterprise#2625.
This commit is contained in:
parent
63cc7aab9c
commit
90dd961fa1
|
@ -36,7 +36,7 @@ my @opts = @ARGV;
|
|||
my $timeout = shift(@opts);
|
||||
my $command;
|
||||
foreach my $arg (@opts) {
|
||||
$command .= quotemeta ($arg) . ' ';
|
||||
$command .= $^O ne 'MSWin32' ? quotemeta ($arg) . ' ' : '"' . $command . '" ';
|
||||
}
|
||||
chomp ($command);
|
||||
my $output = '';
|
||||
|
|
Loading…
Reference in New Issue