Bash Execute With Progress Action
Bash Execute With Progress Action
The Bash Execute With Progress Action node executes a Unix Bash command and attempts to extract progress information from the command output.
It can be used for long-running operations such as file transfers, downloads, copies, or other command-line processes that provide percentage-based progress output. When progress can be extracted successfully, the related Helmut job is updated during execution.
This node is intended for Unix-based systems such as Linux and macOS.

Configurable Settings
Async
Enables or disables asynchronous execution.
Command
The Bash command to execute.
Helmut wildcards can be used within the command.
Example:
Paths containing spaces should be enclosed in quotation marks.
Example:
Progress Regex
An optional regular expression used to extract the current progress value from the command output.
The regular expression should contain a capture group that returns the numeric percentage value.
Default example:
This pattern extracts percentage values from output such as:
The captured value 42 is then used to update the job progress.
The configured command must continuously write progress information to the command line for this feature to work.
Progress Message
The job message displayed while the command is running and progress can be determined.
Example:
The extracted percentage is applied to the job together with this message.
Unextractable Progress Message
The message displayed when the command is running but no progress value can be extracted using the configured regular expression.
Example:
Failure to extract progress does not necessarily mean that the command itself has failed. The process continues, but the job progress cannot be updated with a percentage.
Success Message
The job message displayed after the Bash command completes successfully.
Example:
Progress Extraction
The node reads the command-line output while the process is running and applies the configured regular expression to it.
For example, when the command outputs:
and the Progress Regex is:
the node extracts 65 and updates the job progress accordingly.
The first capture group of the regular expression must contain a numeric value suitable for use as a percentage.
Typical Usage
Important Notes
The command must be compatible with the Bash environment on the executing system.
The executable used by the command must be installed and available to the executing user.
The executing user requires the necessary permissions for all referenced files and directories.
Progress can only be displayed when the command writes matching progress information to its output.
The regular expression must contain a capture group for the numeric progress value.
Commands that buffer or suppress their output may not provide usable progress updates.
Quote paths that contain spaces or special characters.
The node does not automatically make commands safe. Validate wildcard values before using them in shell commands, especially when they may contain user-provided content.
Last updated