User Tools

Site Tools


action:Execute_a_Shell_Script

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision Both sides next revision
action:Execute_a_Shell_Script [2021/10/18 03:51]
peternlewis [Path in Shell Scripts]
action:Execute_a_Shell_Script [2021/10/18 03:55]
peternlewis [Path in Shell Scripts]
Line 252: Line 252:
  
 For example, if you want to use [[https://​www.perl.org/​ | Perl]] with a custom library search path in the Execute a Shell Script action, you can also create a Keyboard Maestro variable `ENV_PERL5LIB` that will set the [[http://​perldoc.perl.org/​perlrun.html#​ENVIRONMENT|PERL5LIB environment variable]]. For example, if you want to use [[https://​www.perl.org/​ | Perl]] with a custom library search path in the Execute a Shell Script action, you can also create a Keyboard Maestro variable `ENV_PERL5LIB` that will set the [[http://​perldoc.perl.org/​perlrun.html#​ENVIRONMENT|PERL5LIB environment variable]].
 +
 +===== Working Directory =====
 +
 +The working directory for any executed scripts will be set from the Keyboard Maestro `ENV_PWD` directory (v10.0+), or default to the root directory (`/`).
 +
  
 ===== Execute Script From Other Apps ===== ===== Execute Script From Other Apps =====
action/Execute_a_Shell_Script.txt ยท Last modified: 2023/09/22 04:39 by peternlewis