diff --git a/manage.py b/manage.py index ee00d47..d26800d 100644 --- a/manage.py +++ b/manage.py @@ -125,7 +125,7 @@ def link_environment(config, env, **kwargs): if "post-link" in package: command = package["post-link"] - subprocess.run(shlex.split(command), check=True) + subprocess.run(command, shell=True, check=True) print(f"\t> Post-link executed: `{command}`") def install_environment(config, env, **kwargs): @@ -148,7 +148,7 @@ def install_environment(config, env, **kwargs): if "post-install" in package: postinstall_command = package["post-install"] - subprocess.run(shlex.split(postinstall_command), check=True) + subprocess.run(command, shell=True, check=True) print(f"\t> Post-install executed: `{postinstall_command}`") def setup_environment(config, env, **kwargs):