- COPYRIGHT AND LICENSE
use Bat::Interpreter; use Bat::Interpreter::Delegate::Executor::System; my $system_executor = Bat::Interpreter::Delegate::Executor::System->new; my $interpreter = Bat::Interpreter->new(executor => $system_executor); $interpreter->run('my.cmd');
Every command gets through system. So if you are in Linux using bash, bash will try to execute the command.
This executor is as dumb and simple as it can, be cautious.
Bat::Interpreter::Delegate::Executor::PartialDryRunner - Executor for executing commands via perl system
Execute general commands.
This executor use perl system
Execute commands for use in FOR expressions. This is usually used to capture output and implement some logic inside the bat/cmd file.
This executor executes this commands via perl subshell: ``
Pablo Rodríguez González <firstname.lastname@example.org>
This software is Copyright (c) 2018 by Pablo Rodríguez González.
This is free software, licensed under:
The MIT (X11) License