[][src]Function task_hookrs::tw::add_query_to_cmd

pub fn add_query_to_cmd(query: &str, cmd: Command) -> Command

This will take a Command, and append the given query string splited at whitespace followed by the "export" command to the arguments of the Command.