summaryrefslogtreecommitdiff
path: root/gst-env.py
diff options
context:
space:
mode:
Diffstat (limited to 'gst-env.py')
-rwxr-xr-xgst-env.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/gst-env.py b/gst-env.py
index df3e402332..94dba9b579 100755
--- a/gst-env.py
+++ b/gst-env.py
@@ -458,8 +458,9 @@ def get_subprocess_env(options, gst_version):
return env
def get_windows_shell():
- command = ['powershell.exe' ,'-noprofile', '-executionpolicy', 'bypass', '-file', 'cmd_or_ps.ps1']
- result = subprocess.check_output(command, cwd=SCRIPTDIR)
+ command = ['powershell.exe' ,'-noprofile', '-executionpolicy', 'bypass', '-file',
+ os.path.join(SCRIPTDIR, 'data', 'misc', 'cmd_or_ps.ps1')]
+ result = subprocess.check_output(command)
return result.decode().strip()
if __name__ == "__main__":