(&self)
| 179 | } |
| 180 | |
| 181 | fn base_args(&self) -> Vec<&OsStr> { |
| 182 | let mut base_args: Vec<&OsStr> = vec!["run".as_ref(), "--rm".as_ref(), "-t".as_ref()]; |
| 183 | if atty::is(atty::Stream::Stdout) && atty::is(atty::Stream::Stdin) { |
| 184 | base_args.push("-i".as_ref()); |
| 185 | } |
| 186 | base_args |
| 187 | } |
| 188 | } |
| 189 | |
| 190 | pub fn enable_forward_ssh_agent( |