prcs 0.2.0

The Swiss Army knife for running processes
Documentation
1
2
3
4
5
6
7
pub const fn shell_command(command: &'static str) -> [&'static str; 4] {
    if cfg!(windows) {
        ["--", "cmd", "/C", command]
    } else {
        ["--", "sh", "-c", command]
    }
}