We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
native_mux_impl::Session::subsystem
1 parent 403963e commit f40dd09Copy full SHA for f40dd09
src/native_mux_impl/session.rs
@@ -38,7 +38,11 @@ impl Session {
38
}
39
40
pub(crate) fn raw_command<S: AsRef<OsStr>>(&self, program: S) -> Command {
41
- Command::new(self.ctl.clone(), program.as_ref().as_bytes().into())
+ Command::new(self.ctl.clone(), program.as_ref().as_bytes().into(), false)
42
+ }
43
+
44
+ pub(crate) fn subsystem<S: AsRef<OsStr>>(&self, program: S) -> Command {
45
+ Command::new(self.ctl.clone(), program.as_ref().as_bytes().into(), true)
46
47
48
pub(crate) async fn request_port_forward(
0 commit comments