pub struct ScriptAction { /* private fields */ }Expand description
An action to run a custom shell script.
The passed script is running in a subshell (/bin/sh on *nix, cmd.exe on Windows).
so it can use any feature in these shells: variable expansion, pipes, redirection.
Both the stdout and stderr will be captured and logged. If the script fails,
the failure will also be logged.
Implementations§
Source§impl ScriptAction
impl ScriptAction
Trait Implementations§
Source§impl Action for ScriptAction
impl Action for ScriptAction
Auto Trait Implementations§
impl Freeze for ScriptAction
impl !RefUnwindSafe for ScriptAction
impl Send for ScriptAction
impl Sync for ScriptAction
impl Unpin for ScriptAction
impl !UnwindSafe for ScriptAction
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more