Skip to content

Passing environment variables to login subprocess

Compare
Choose a tag to compare
@gchamon gchamon released this 26 Jun 22:49
· 3 commits to master since this release
3bba512

OP CLI now needs OP_DEVICE env var set to login and operate. We need, therefore to explicitly pass the os.environ in the subprocess.run env arg