Skip to content
This repository was archived by the owner on Apr 14, 2025. It is now read-only.

Passing environment variables to login subprocess

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