mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-01-28 08:03:36 +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)
|
||||
|
||||
return output
|
||||
else:
|
||||
return proc
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user