From eccbe67b7be70ad533eb21ef6b651636ac315a28 Mon Sep 17 00:00:00 2001 From: "M. Taylor Saotome-Westlake" Date: Mon, 18 Dec 2017 16:28:49 -0800 Subject: [PATCH] fix sitegen-on-push (probably) --- provisioning/pelican_scheduler.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/provisioning/pelican_scheduler.py b/provisioning/pelican_scheduler.py index c58a036..5fdc607 100755 --- a/provisioning/pelican_scheduler.py +++ b/provisioning/pelican_scheduler.py @@ -74,7 +74,9 @@ def main(): # sitegen now! (even if there are no posts to queue, we can at least update # /drafts/) and make any back-edits to published posts live - subprocess.run(SITEGEN_COMMAND) + subprocess.run(SITEGEN_COMMAND, + # XXX: `shell=True` is contrary to the moral law + shell=True) # look for scheduled future posts future_publication_times = get_future_publication_times() -- 2.17.1