1 #include <unistd.h> 2 #include <stdio.h> 3 #include <stdlib.h> 4 5 #include "test_helpers.h" 6 7 int main(void) { 8 char* args[] = {"sh", "-c", "echo 'exec works :D'", NULL}; 9 10 int status = execv("/bin/sh", args); 11 ERROR_IF(execv, status, == -1); 12 } 13