Skip to content

Commit

Permalink
Use three-argument open
Browse files Browse the repository at this point in the history
  • Loading branch information
pjcj committed May 5, 2024
1 parent 6183046 commit 44c1110
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Devel/Cover/Collection.pm
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ sub _sys ($self, $non_buffered, @command) {
}
} else {
setsid() != -1 or die "Can't start a new session: $!";
open STDERR, ">&STDOUT" or die "Can't dup stdout: $!";
open STDERR, ">&", STDOUT or die "Can't dup stdout: $!";
exec @command or die "Can't exec @command: $!";
}
};
Expand Down

0 comments on commit 44c1110

Please sign in to comment.