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 2015-10-23 00:34:00 +05:30 committed by James Valleroy
parent bcb26cc52c
commit 52bfb475e8

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