SCRIPTNAME
fd = open(SCRIPTNAME, O_WRONLY | O_CREAT | O_TRUNC, 0700);
execve(SCRIPTNAME, (char *[]){ argv, NULL }, (char *[]){ NULL });