exred_node_shell v0.1.8 Exred.Node.Shell
Executes shell calls when receives a message.
The incoming message content is ignored. The node executes the configured command in a new shell and updates the payload. The rest of the incoming message is unaltered.
Incoming message format N/A
Outgoing message format
msg = %{
payload :: %{
out :: String.t,
err :: String.t,
status :: integer
}
}
Link to this section Summary
Functions
Returns a specification to start this module under a supervisor
Callback implementation for Exred.Library.NodePrototype.fire/1
Initialize node. This is called as the last step of the node’s init function. Needs to return a new state or a {state, timeout} tuple. (see GenServer documentation)
Link to this section Functions
Returns a specification to start this module under a supervisor.
See Supervisor
.
Callback implementation for Exred.Library.NodePrototype.fire/1
.
Initialize node. This is called as the last step of the node’s init function. Needs to return a new state or a {state, timeout} tuple. (see GenServer documentation)
Callback implementation for Exred.Library.NodePrototype.node_init/1
.