summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xgst-env.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/gst-env.py b/gst-env.py
index fcd7863..0fa40f5 100755
--- a/gst-env.py
+++ b/gst-env.py
@@ -433,7 +433,7 @@ def get_subprocess_env(options, gst_version):
def get_windows_shell():
command = ['powershell.exe' ,'-noprofile', '-executionpolicy', 'bypass', '-file', 'cmd_or_ps.ps1']
- result = subprocess.check_output(command)
+ result = subprocess.check_output(command, cwd=SCRIPTDIR)
return result.decode().strip()
if __name__ == "__main__":