From 3ac9eaedf1babbdbba125f1e1fc48bb74e4909ab Mon Sep 17 00:00:00 2001 From: Tomas Mirchev Date: Tue, 25 Feb 2025 05:55:16 +0100 Subject: [PATCH] add shell command in manage post-* --- manage.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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):