summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonathan Steinert <hachi@fastly.com>2015-04-27 22:49:07 +0000
committerJonathan Steinert <hachi@fastly.com>2015-04-27 22:49:07 +0000
commit40a7231f0a08fff8ce8519fb371eb1a1b697410a (patch)
tree169110d442fb00b03fe641a2d5d919d5968852a5
parent1b1bf5e3648a1f8eff79dac10b7a8c208339f2f4 (diff)
downloadcarton-40a7231f0a08fff8ce8519fb371eb1a1b697410a.tar.gz
Fatal warnings during system() or exec() call
-rw-r--r--lib/Carton/CLI.pm1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/Carton/CLI.pm b/lib/Carton/CLI.pm
index c1caf3d..aa4dcf5 100644
--- a/lib/Carton/CLI.pm
+++ b/lib/Carton/CLI.pm
@@ -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);
}