switches from execvp to execve