Skip to content

Commit

Permalink
Fatal warnings during system() or exec() call
Browse files Browse the repository at this point in the history
  • Loading branch information
hachi committed Apr 27, 2015
1 parent 1b1bf5e commit 40a7231
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/Carton/CLI.pm
Expand Up @@ -387,6 +387,7 @@ sub cmd_exec {
local $ENV{PERL5LIB} = "$path/lib/perl5";
local $ENV{PATH} = "$path/bin:$ENV{PATH}";

use warnings FATAL => 'all';
$UseSystem ? system(@args) : exec(@args);
}

Expand Down

0 comments on commit 40a7231

Please sign in to comment.