2
0
Ver Fonte

ctrl-c while "doit up" works better

boyska há 5 anos atrás
pai
commit
4279c8f09f
1 ficheiros alterados com 3 adições e 2 exclusões
  1. 3 2
      dodo.py

+ 3 - 2
dodo.py

@@ -94,9 +94,10 @@ def task_up():
     '''RUN that stuff!'''
     return {
         'task_dep': ['build', 'dbprepare', '_fix_perms'],
+        'teardown': [(stop, [])],
         'actions': [LongRunning(
-            (COMPOSE + ' up'),
-            shell=True)
+            (COMPOSE + ' up').split(),
+            shell=False)
         ]
     }