mirror of
https://github.com/NikitaIvanovV/ctpv.git
synced 2025-08-13 16:47:15 +02:00
Print error if exit code is not 127
This commit is contained in:
4
utils.h
4
utils.h
@ -26,7 +26,9 @@ typedef struct {
|
||||
|
||||
extern char *program;
|
||||
|
||||
int spawn(char *args[], pid_t *cpid, int *exitcode, int *fds[2]);
|
||||
int spawn_redirect(const void *arg);
|
||||
int spawn(char *args[], pid_t *cpid, int *exitcode, int (*cfunc)(const void *),
|
||||
const void *carg);
|
||||
|
||||
int strcmpnull(char const *s1, char const *s2);
|
||||
|
||||
|
Reference in New Issue
Block a user