mirror of
https://github.com/onyx-and-iris/streamlabs-socketio-py
synced 2024-12-04 04:50:47 +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 subprocess
|
||||||
|
import sys
|
||||||
from pathlib import Path
|
from pathlib import Path
|
||||||
|
|
||||||
|
|
||||||
def ex_debug():
|
def ex_debug():
|
||||||
path = Path.cwd() / "examples" / "debug" / "."
|
scriptpath = Path.cwd() / "examples" / "debug" / "."
|
||||||
subprocess.run(["py", str(path)])
|
subprocess.run([sys.executable, str(scriptpath)])
|
||||||
|
Loading…
Reference in New Issue
Block a user