From a58098c6b3508744c0462621205388b2b05280f9 Mon Sep 17 00:00:00 2001 From: Jonathan Wren Date: Sat, 3 Sep 2022 13:49:16 -0700 Subject: [PATCH] update run_shell task to use newer python --- tasks.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tasks.py b/tasks.py index 0fd966bd..00ac6755 100644 --- a/tasks.py +++ b/tasks.py @@ -21,7 +21,7 @@ def delete_files(files): def run_shell(command): # Required to run NPM commands in Windows and *nix - subprocess.call(command, shell=True) + subprocess.run(command.split(" "), check=True) def generate_sitemap():