From 52bfb475e8809ef0761d261a5806f8dd56fd4e96 Mon Sep 17 00:00:00 2001 From: Sunil Mohan Adapa Date: Fri, 23 Oct 2015 00:34:00 +0530 Subject: [PATCH] Return the process for async actions So that the caller can manage and later look for return status. --- plinth/actions.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/plinth/actions.py b/plinth/actions.py index 50b86d6ab..7043c69cb 100644 --- a/plinth/actions.py +++ b/plinth/actions.py @@ -180,3 +180,5 @@ def _run(action, options=None, input=None, async=False, run_as_root=False): raise ActionError(action, output, error) return output + else: + return proc