[][src]Crate execute_command_macro

Execute Command Macro

Create Command instances using the command! macro or the command_args! macro.

Also see execute.

Examples

#[macro_use] extern crate execute_command_macro;

let command = command!("program arg1 arg2 'arg 3' -opt1 -opt2");
#[macro_use] extern crate execute_command_macro;

let command = command_args!("program", "arg1", "arg2", "-opt1", "-opt2");

Macros

command

Generate the statements at compile time to create a Command instance by a command string.

command_args

Create a Command instance by inputting args separately.