#include #include #include using namespace std; const char PROG[] {"/bin/sh"}; int main(int argc, char * argv[], char * envp[]) { char * args[2]; args[0] = strdup("/bin/sh"); args[1] = 0; cout << "Getting ready to call the shell program" << endl; execve(PROG, args, 0); cout << " I should never get here " << endl; return 0; }