Return the process for async actions

So that the caller can manage and later look for return status.
This commit is contained in:
Sunil Mohan Adapa authored and James Valleroy committed 2015-11-03 20:24:40 -05:00
1 parent bcb26cc52c
commit 52bfb475e8
1 file changed
+2
+2
View File
@@ -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