Skip to main content

parse_script

Function parse_script 

Source
pub fn parse_script(script: &str) -> Vec<ScriptCommand>
Expand description

Parse a single script value into one or more commands.

Splits on shell operators (&&, ||, ;, |, &) and parses each segment.