gst-uninstalled.py: Don't close parent file descriptors

https://bugzilla.gnome.org/show_bug.cgi?id=791616
This commit is contained in:
Alicia Boya García 2017-12-14 15:35:23 +01:00 committed by Thibault Saunier
parent dfc24cc612
commit a5ed8944e3

View file

@ -226,7 +226,7 @@ if __name__ == "__main__":
args.append(tmprc.name)
python_set = python_env(options)
try:
exit(subprocess.call(args, cwd=options.srcdir,
exit(subprocess.call(args, cwd=options.srcdir, close_fds=False,
env=get_subprocess_env(options)))
except subprocess.CalledProcessError as e:
exit(e.returncode)