cbt/cbt.c

15 lines
318 B
C

// x-run: ~/scripts/runc.sh % -Wall -Wextra
#define CBT_IMPLEMENTATION
#include "cbt.h"
int main(int argc, char **argv) {
cbt_verbosity = CBT_LOG_DEBUG;
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;
}