version 1.9, 2016/03/05 13:12:12 |
version 1.10, 2016/03/28 11:27:37 |
|
|
char *args[4]; /* Args for invoking the shell */ |
char *args[4]; /* Args for invoking the shell */ |
int fds[2]; /* Pipe streams */ |
int fds[2]; /* Pipe streams */ |
pid_t cpid; /* Child PID */ |
pid_t cpid; /* Child PID */ |
pid_t pid; /* PID from wait() */ |
|
char *result; /* Result */ |
char *result; /* Result */ |
int status; /* Command exit status */ |
int status; /* Command exit status */ |
BUFFER buf; /* Buffer to store the result. */ |
BUFFER buf; /* Buffer to store the result. */ |