diff --git a/spug_api/apps/deploy/utils.py b/spug_api/apps/deploy/utils.py index 6d689cd..355419d 100644 --- a/spug_api/apps/deploy/utils.py +++ b/spug_api/apps/deploy/utils.py @@ -291,6 +291,7 @@ class Helper: def local(self, command, env=None): if env: + env = dict(env.items()) env.update(os.environ) command = 'set -e\n' + command task = subprocess.Popen(command, env=env, shell=True, stdout=subprocess.PIPE, stderr=subprocess.STDOUT)