Trait async_process::windows::CommandExt
source · pub trait CommandExt: Sealed {
// Required methods
fn creation_flags(&mut self, flags: u32) -> &mut Command;
fn raw_arg<S: AsRef<OsStr>>(
&mut self,
text_to_append_as_is: S
) -> &mut Command;
}
Expand description
Windows-specific extensions to the Command
builder.
This trait is sealed: it cannot be implemented outside async-process
.
This is so that future additional methods are not breaking changes.
Required Methods§
sourcefn creation_flags(&mut self, flags: u32) -> &mut Command
fn creation_flags(&mut self, flags: u32) -> &mut Command
Sets the process creation flags to be passed to CreateProcess
.
These will always be ORed with CREATE_UNICODE_ENVIRONMENT
.
Object Safety§
This trait is not object safe.