pub fn cd<P: AsRef<Path>>(dir: P) -> Result<PathBuf, ZxError>Expand description
Change the working directory of the current scope (zx cd()).
Relative paths resolve against the scope’s current directory. The process
working directory is left alone so that parallel scopes do not interfere.
A ProcessOutput can be passed by reference: its
trimmed output is used as the path.