mirror of
https://github.com/onyx-and-iris/streamlabs-socketio-py
synced 2024-12-03 12:30:48 +00:00
fixes bug subprocess not inheriting variables
(pyenv-win issue)
This commit is contained in:
parent
d9e8c5391a
commit
7d7704dd28
@ -1,7 +1,8 @@
|
||||
import subprocess
|
||||
import sys
|
||||
from pathlib import Path
|
||||
|
||||
|
||||
def ex_debug():
|
||||
path = Path.cwd() / "examples" / "debug" / "."
|
||||
subprocess.run(["py", str(path)])
|
||||
scriptpath = Path.cwd() / "examples" / "debug" / "."
|
||||
subprocess.run([sys.executable, str(scriptpath)])
|
||||
|
Loading…
Reference in New Issue
Block a user