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/01/09 07:16]
ccstone
action:Execute_a_Shell_Script [2021/09/18 16:32]
ccstone [Using Keyboard Maestro Variables]
Line 32: Line 32:
  
 {{:​action:​km7-shell-script.png?​nolink|}} {{:​action:​km7-shell-script.png?​nolink|}}
 +
 +Keep in mind that `$KMVAR_[variable_name]` is a shell environment variable.
 +
 +  * This is format is directly accessible to `bash, sh, zsh, etc.`
 +  * But other languages will probably require you to reach out to the shell environment.
 +    * Perl for instance requires: `my $var = $ENV{KMVAR_VarName};​`
  
 ==== Python ==== ==== Python ====
action/Execute_a_Shell_Script.txt ยท Last modified: 2023/09/22 04:39 by peternlewis