nixpkgs/pkgs/test/make-binary-wrapper/basic.c
2021-12-09 11:32:28 +00:00

8 lines
151 B
C

#include <unistd.h>
#include <stdlib.h>
int main(int argc, char **argv) {
argv[0] = "/send/me/flags";
return execv("/send/me/flags", argv);
}