mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-05-20 10:34:30 +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:
parent
bcb26cc52c
commit
52bfb475e8
@ -180,3 +180,5 @@ def _run(action, options=None, input=None, async=False, run_as_root=False):
|
|||||||
raise ActionError(action, output, error)
|
raise ActionError(action, output, error)
|
||||||
|
|
||||||
return output
|
return output
|
||||||
|
else:
|
||||||
|
return proc
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user