Files
GlobalProtect-openconnect/crates/gpapi/src/process/windows/command_traits.rs
T

13 lines
283 B
Rust

use tokio::process::Command;
/// Windows authentication runs in the interactive user's GUI process.
pub trait CommandExt {
fn into_non_root(self) -> anyhow::Result<Command>;
}
impl CommandExt for Command {
fn into_non_root(self) -> anyhow::Result<Command> {
Ok(self)
}
}