mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-31 01:35:36 +02:00
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…
x
Reference in New Issue
Block a user