pwtest: add pwtest_spawn for running external programs

This commit is contained in:
Pauli Virtanen 2022-03-05 11:57:40 +02:00 committed by Wim Taymans
parent df4f844daa
commit 581f6c7f1d
2 changed files with 33 additions and 0 deletions

View file

@ -558,6 +558,11 @@ pwtest_spa_plugin_try_load_interface(struct pwtest_spa_plugin *plugin,
*/
void pwtest_mkstemp(char path[PATH_MAX]);
/**
* Run a command and wait for it to return.
*/
int pwtest_spawn(const char *file, char *const argv[]);
/**
* \}