Currently gst-uninstalled.py changes the current directory to the root
of the gst-build before executing execute the command passed as
arguments. This is unnecessary, it creates confusion and makes scripting
more cumbersome. This patch fixes that.
args.append("--rcfile")
args.append(tmprc.name)
try:
- exit(subprocess.call(args, cwd=options.srcdir, close_fds=False,
+ exit(subprocess.call(args, close_fds=False,
env=get_subprocess_env(options, gst_version)))
except subprocess.CalledProcessError as e:
exit(e.returncode)