forked from containers/bootc
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
utils: Add a helper to run command + capture output
Factor out a helper that runs and captures output *and* checks exit status out of what we have existing in `run_and_parse_json`, so we can use it for things that output not-JSON. Signed-off-by: Colin Walters <[email protected]>
- Loading branch information
Showing
1 changed file
with
14 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters