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 [2018/04/13 16:47]
JMichaelTX [Path in Shell Scripts]
action:Execute_a_Shell_Script [2018/04/13 16:48]
JMichaelTX [Path in Shell Scripts]
Line 91: Line 91:
     * **Set `ENV_PATH`** (the Keyboard Maestro Path Variable) **prior to the Execute Shell Script Action.**     * **Set `ENV_PATH`** (the Keyboard Maestro Path Variable) **prior to the Execute Shell Script Action.**
       * The path defined in this Variable will automatically apply to every Execute Shell Script, without need for further reference. ​ It will work just like your `$PATH` works in the Terminal app.       * The path defined in this Variable will automatically apply to every Execute Shell Script, without need for further reference. ​ It will work just like your `$PATH` works in the Terminal app.
-      * You can set this Variable manually in the [[manual:​Windows#​Example|Variable Preferences ​Pane]] of the _Keyboard Maestro App Preferences_.+      * You can set this Variable manually in the [[manual:​Windows#​Example|Variable Preferences ​Panel]] of the _Keyboard Maestro App Preferences_.
       * Once the `ENV_PATH` Variable is set, it will remain in your Keyboard Maestro Variable set (until/​unless you delete it), available to every Execute Shell Script Action that you might use in the future. ​ So you don't need to set it in every Macro.       * Once the `ENV_PATH` Variable is set, it will remain in your Keyboard Maestro Variable set (until/​unless you delete it), available to every Execute Shell Script Action that you might use in the future. ​ So you don't need to set it in every Macro.
       * If your tool requires other environment variables to be set you can set them as well by creating an appropriate Keyboard Maestro variable with `ENV_` at the front.       * If your tool requires other environment variables to be set you can set them as well by creating an appropriate Keyboard Maestro variable with `ENV_` at the front.
action/Execute_a_Shell_Script.txt ยท Last modified: 2023/09/22 04:39 by peternlewis