Skip to main content

build_piped_command

Function build_piped_command 

Source
pub fn build_piped_command(input: &str, command: &str) -> String
Expand description

Build stdin piping command for tools that accept input via stdin

§Arguments

  • input - Input to pipe
  • command - Command to pipe to

§Returns

Piped command