changeset 315:2d20824d8e8b

add nowait
author drewp@bigasterisk.com
date Mon, 23 Sep 2024 00:35:13 -0700
parents 8a1cbc033fc1
children a135aa45861a
files tasks.py
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/tasks.py	Mon Sep 23 00:34:56 2024 -0700
+++ b/tasks.py	Mon Sep 23 00:35:13 2024 -0700
@@ -9,7 +9,7 @@
 
 
 def _run(ctx, s):
-    ctx.run(cmd + '--nowait inventory.py %s' % s, pty=True, echo=True)
+    ctx.run(cmd + '--no-wait inventory.py %s' % s, pty=True, echo=True)
 
 
 @task
@@ -112,7 +112,7 @@
         'mail.py',
         'home.py',
     ]
-    ctx.run(' '.join([cmd, '-y', 'inventory.py'] + configs), pty=True)
+    ctx.run(' '.join([cmd, '--no-wait', '-y', 'inventory.py'] + configs), pty=True)
     ctx.run('touch /my/proj/infra/ran_all.timestamp')