Struct gw_bin::actions::script::ScriptAction
source · 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§
Trait Implementations§
source§impl Action for ScriptAction
impl Action for ScriptAction
Auto Trait Implementations§
impl RefUnwindSafe for ScriptAction
impl Send for ScriptAction
impl Sync for ScriptAction
impl Unpin for ScriptAction
impl UnwindSafe for ScriptAction
Blanket Implementations§
§impl<T> AnySync for T
impl<T> AnySync for T
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