Clears the entire environment map for the child process. # Examples Basic usage: ```no_run use assert_cmd::Command; Command::new("ls") .env_clear() .unwrap_err(); ```
(&mut self)
| 388 | /// .unwrap_err(); |
| 389 | /// ``` |
| 390 | pub fn env_clear(&mut self) -> &mut Self { |
| 391 | self.cmd.env_clear(); |
| 392 | self |
| 393 | } |
| 394 | |
| 395 | /// Sets the working directory for the child process. |
| 396 | /// |
no outgoing calls