summaryrefslogtreecommitdiff
path: root/lib/Carton/CLI.pm
diff options
context:
space:
mode:
Diffstat (limited to 'lib/Carton/CLI.pm')
-rw-r--r--lib/Carton/CLI.pm7
1 files changed, 7 insertions, 0 deletions
diff --git a/lib/Carton/CLI.pm b/lib/Carton/CLI.pm
index ffb86b1..ed9c71e 100644
--- a/lib/Carton/CLI.pm
+++ b/lib/Carton/CLI.pm
@@ -358,6 +358,13 @@ sub cmd_update {
$env->snapshot->save;
}
+sub cmd_run {
+ my($self, @args) = @_;
+
+ local $UseSystem = 1;
+ $self->cmd_exec(@args);
+}
+
sub cmd_exec {
my($self, @args) = @_;