Run Bash Script

What does Run Bash Script do?

The Run Bash Script directive will run a bash script which you specify in the step configuration.

This directive gives you expanded flexibility in case Proggy’s built-in directives do not meet your specific needs.

How do I use the Run Bash Script directive?

In bash script format, specify your bash script which you want to execute within the context of a Prog run.

Run Bash Script directive settings
Run Bash Script directive settings

Behaviour of the Run Bash Script directive

  • This directive will fail if the underlying operating system is not Linux or Mac. In other words, if you add this directive to a command that is run under Windows, it will exit.
  • If the Bash script executes a command that exits with a non-zero exit code, the directive will fail and the Prog command will exit.

Example use cases for the Run Bash Script directive

  • If you already have existing Bash scripts to perform certain tasks, you can incorporate them into your Prog commands.