runShell
Low-level imperative function to execute a shell command declared in fluxlay.yaml.
Import
Signature
Parameters
ShellOptions
Return Value
ShellResult
Example
When to Use
Use runShell instead of useShell when you need:
- Full control over execution timing.
- To process the output programmatically before display.
- To execute a command outside of React's render cycle.
For terminal-rendered output with automatic refresh, prefer useShell.