Crate procmd

Source
Expand description

A helper library for building commands.

The cmd! macro can be used to generate std::process::Command (or PipeCommand). Refer to its documentation for more information.

§Examples

use procmd::cmd;
use std::path::Path;

let file_path = Path::new("/path/to/file");
cmd!("cat", "-n", file_path).spawn()?;

Macros§

cmd
A macro for building commands.

Structs§

PipeCommand
Multiple commands that will be piped.