diff options
author | Thibault Saunier <tsaunier@igalia.com> | 2020-10-30 23:51:16 -0300 |
---|---|---|
committer | Thibault Saunier <tsaunier@igalia.com> | 2021-09-24 16:21:18 -0300 |
commit | bcd3ffa8b2a259aa7ccc0236e8c5373d0543599e (patch) | |
tree | 579cd3908732c62449ac76de6a44f96d999739ac /gst-env.py | |
parent | e0d3a211d9a115920a08223522e0afd58e58b80f (diff) | |
download | gstreamer-bcd3ffa8b2a259aa7ccc0236e8c5373d0543599e.tar.gz |
Cleanup root directory from misc files
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/891>
Diffstat (limited to 'gst-env.py')
-rwxr-xr-x | gst-env.py | 5 |
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__": |