holzschu / holzschu/a-shell

Environment variables | Shortcuts

Open
#641 1 comment 0 reactions 0 assignees View on GitHub
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.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.