Skip to content

Commit

Permalink
Fix handling of commands on Windows 2008.
Browse files Browse the repository at this point in the history
(And potentially other Windows systems)
  • Loading branch information
Holger Jahn authored and pjf committed Feb 4, 2014
1 parent bfee638 commit 1d99f77
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/IPC/System/Simple.pm
Original file line number Diff line number Diff line change
Expand Up @@ -303,7 +303,7 @@ sub _win32_capture {

my $err;
my $pid = eval {
_spawn_or_die($exe, "$command @args");
_spawn_or_die($exe, qq{"$command" @args});
}
or do {
$err = $@;
Expand Down

0 comments on commit 1d99f77

Please sign in to comment.