one-command 0.2.0

Execute commands on the Windows platform, without opening a window to maintain consistency with other system behaviors.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
use std::ffi::OsStr;

pub mod bloking;

/// Execute commands on the Windows platform,
/// without opening a window to maintain consistency with other system behaviors.
pub struct Command;

impl Command {
    pub fn new<S: AsRef<OsStr>>(program: S) -> async_process::Command {
        bloking::Command::new(program).into()
    }
}