babashka.pods: BABASHKA_POD env var

This commit is contained in:
Michiel Borkent 2020-05-09 19:32:50 +02:00
parent 16b7d0ebc3
commit c22bdf768c
2 changed files with 5 additions and 5 deletions

@ -1 +1 @@
Subproject commit 7fea4149c98b2660611c4a7e4508fd3745838a66
Subproject commit f5652b97494fbbb468cca9d0a5f5d4c4fc359f3b

View file

@ -246,10 +246,10 @@ channel on which the values will be received:
;;=> ["changed" "/tmp"]
```
#### RUN_AS_BABASHKA_POD
#### Environment
Babashka will set the `RUN_AS_BABASHKA_POD` environment variable to `true` when
invoking the pod. This can be used to determine if the program should behave as
a pod or not.
Babashka will set the `BABASHKA_POD` environment variable to `true` when
invoking the pod. This can be used by the invoked program to determine whether
it should behave as a pod or not.
Added in v0.0.94.