NAME

Bat::Interpreter::Role::Executor - Role for executing the commands in the bat files

DESCRIPTION

Role for executing the commands in the bat files. With this role you can just print the commands that are going to be executed (dry run), or maybe in another machine (via SSH, RPC, or whatever).

See Bat::Interpreter::Delegate::Executor::DryRunner or Bat::Interpreter::Delegate::Executor::PartialDryRunner for an example of implementation

METHODS

execute_for_command

Execute commands for use in FOR expressions. This is usually used to capture output and implement some logic inside the bat/cmd file.

execute_command

Execute general commands