wrangler python child: explicitly close stdout+stderr.

Hopefully this will avoid any more hanging issues.
This commit is contained in:
Starbeamrainbowlabs 2022-08-10 18:51:30 +01:00
parent 5880bf9020
commit 6cdf2b2389
Signed by: sbrl
GPG key ID: 1BE5172E637709C2

View file

@ -71,6 +71,8 @@ def main():
convert(args.input, args.output) convert(args.input, args.output)
sys.stderr.close()
sys.stdout.close()
if __name__ == "__main__": if __name__ == "__main__":
main() main()