Check process success locally for adb commands

Remove sc_process_check_success() from the process API, it is too
specific.
This commit is contained in:
Romain Vimont
2021-11-25 09:37:53 +01:00
parent 680d2cc940
commit 904f0ae61e
5 changed files with 44 additions and 62 deletions

View File

@@ -107,14 +107,6 @@ sc_process_wait(sc_pid pid, bool close);
void
sc_process_close(sc_pid pid);
/**
* Convenience function to wait for a successful process execution
*
* Automatically log process errors with the provided process name.
*/
bool
sc_process_check_success(sc_pid pid, const char *name, bool close);
/**
* Read from the pipe
*