Skip to main content

Module action

Module action 

Source
Expand description

A declared command executed as an activity.

ShellAction turns a command declared in an .awl worker block into a runnable activity, so an action can do real work without a hand-written Rust crate. The command is parsed once at construction and executed as a direct execve with no shell interposed — see super::template for why that is the security property rather than a convenience.

Structs§

ShellAction
A declared command, ready to run as an activity.
ShellOutcome
What a declared action produces when its command succeeds.

Enums§

FailureMode
How a declared action treats a non-zero exit.