ctpv/shell.h

12 lines
217 B
C
Raw Normal View History

2022-05-25 23:57:50 +02:00
#ifndef SHELL_H
#define SHELL_H
#include "utils.h"
2022-05-25 23:57:50 +02:00
#define SHELL_ARGS(script, ...) \
{ "/bin/sh", "-c", script, "/bin/sh", __VA_ARGS__ __VA_OPT__(,) NULL }
char *prepend_helpers(char *str, size_t len);
2022-05-25 23:57:50 +02:00
#endif