Verified Commit 86a38b47 authored by jD91mZM2's avatar jD91mZM2
Browse files

Fix broken exec test

parent ecd8aca6
......@@ -2,8 +2,8 @@
#include <stdio.h>
int main(int argc, char** argv) {
char *const args[1] = {"arg"};
execv("write", args);
char* args[] = {"sh", "-c", "echo 'exec works :D'", NULL};
execv("/bin/sh", args);
return 0;
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment