Searched defs:PtyCommand (Results 1 – 1 of 1) sorted by relevance
| /commonlibrary/rust/ylong_runtime/ylong_runtime/src/process/pty_process/ |
| D | command.rs | 23 pub struct PtyCommand { struct 31 impl PtyCommand { argument 81 pub fn arg<S: AsRef<OsStr>>(&mut self, arg: S) -> &mut PtyCommand { in arg() method 101 pub fn args<I: IntoIterator<Item = S>, S: AsRef<OsStr>>(&mut self, args: I) -> &mut PtyCommand { in args() method 121 pub fn env<K: AsRef<OsStr>, V: AsRef<OsStr>>(&mut self, key: K, val: V) -> &mut PtyCommand { in env() 176 pub fn env_remove<K: AsRef<OsStr>>(&mut self, key: K) -> &mut PtyCommand { in env_remove() 190 pub fn env_clear(&mut self) -> &mut PtyCommand { in env_clear() 204 pub fn current_dir<P: AsRef<Path>>(&mut self, dir: P) -> &mut PtyCommand { in current_dir() 222 pub fn stdin<T: Into<Stdio>>(&mut self, cfg: T) -> &mut PtyCommand { in stdin() 241 pub fn stdout<T: Into<Stdio>>(&mut self, cfg: T) -> &mut PtyCommand { in stdout() [all …]
|