浏览代码

ctrl-c while "doit up" works better

boyska 5 年之前
父节点
当前提交
4279c8f09f
共有 1 个文件被更改,包括 3 次插入2 次删除
  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)
         ]
     }