Environment variables | Shortcuts
Open
- Dominant language
- Perl
- Stars
- 3.9k
- Forks
- 213
- Avg merge
- 1m
- Merged PRs (30d)
- 1
Description
environment variables return **None** value when called from shortcuts with python script
`$ export TESTUSERNAME="test@gmail.com"`
my_python_script.py :
```
import os
print(os.environ.get("TESTUSERNAME"))
```
works in shell
```
$ python my_python_script.py
test@gmail.com
```
return `None` in shortcut with **_Open the app to execute the commands : no (run in extension)_** | **_Show When Run : On_**
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.