pub type WSLPluginAPI_ExecuteBinary = Option<unsafe extern "C" fn(Session: WSLSessionId, Path: PCSTR, Arguments: *mut PCSTR, Socket: *mut SOCKET) -> HRESULT>;
Expand description
Execute a program in the root namespace. On success, ‘Socket’ is connected to stdin & stdout (stderr goes to dmesg) // ‘Arguments’ is expected to be NULL terminated
Aliased Type§
pub enum WSLPluginAPI_ExecuteBinary {
None,
Some(unsafe extern "C" fn(u32, PCSTR, *mut PCSTR, *mut SOCKET) -> HRESULT),
}