mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-11-29 08:25:10 +00:00
Return the process for async actions
So that the caller can manage and later look for return status.
This commit is contained in:
1 parent
bcb26cc52c
commit
52bfb475e8
1 file changed
+2
@@ -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
|
||||
Reference in new issue
Block a user