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
action:Execute_a_Shell_Script [2021/01/09 07:16]
ccstone
action:Execute_a_Shell_Script [2021/09/18 16:32] (current)
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: 2021/09/18 16:32 by ccstone