Struct spurs::ssh::SshCommand
source · pub struct SshCommand { /* private fields */ }
Implementations§
source§impl SshCommand
impl SshCommand
sourcepub fn cwd<P: AsRef<Path>>(self, cwd: P) -> Self
pub fn cwd<P: AsRef<Path>>(self, cwd: P) -> Self
Change the current working directory to cwd
before executing.
sourcepub fn allow_error(self) -> Self
pub fn allow_error(self) -> Self
Allow a non-zero exit code. Normally, an error would occur and we would return early.