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():