|
// x-run: ~/scripts/runc.sh % -Wall -Wextra
|
|
#define CBT_IMPLEMENTATION
|
|
#include "cbt.h"
|
|
|
|
int main(int argc, char **argv) {
|
|
CBT_INIT(argc, argv);
|
|
|
|
struct cbt_proc proc =
|
|
cbt_proc_new(CBT_PROC_NORMAL, "sh", "-c", "echo 'owo'");
|
|
cbt_proc_wait(proc);
|
|
|
|
cbt_cleanup();
|
|
return 0;
|
|
}
|