# HG changeset patch # User Goffi # Date 1638289722 -3600 # Node ID 799d4f6fa7cabe6295231f08d06a39a1227f8745 # Parent 358a678e5bdf3dcefd46ba0a47415ce2e3c84fb0 tools (common/async_process): use parent environment by default diff -r 358a678e5bdf -r 799d4f6fa7ca sat/tools/common/async_process.py --- a/sat/tools/common/async_process.py Tue Nov 30 17:28:03 2021 +0100 +++ b/sat/tools/common/async_process.py Tue Nov 30 17:28:42 2021 +0100 @@ -131,6 +131,9 @@ else: command = cls.command cmd_args = [command] + args + if "env" not in kwargs: + # we pass parent environment by default + kwargs["env"] = None reactor.spawnProcess(prot, command, cmd_args,