currently os.execve will give an error for something like os.execve("/bin/ls",[],{}) while in C this is valid behavior. This patch accepts the above empty second arg.
Logged In: YES user_id=1094771 An updated patch, this fixes all exec* commands to make the second arg optionally empty, and the documentation is updated to reflect the changes.
Logged In: YES user_id=908995 The patch looks good to me, and allowing this is the right thing to do. Posix explicitly allows zero arguments to be passed, and the rationale says that this is to be compatible with the C Standard, which only requires that main's argc be nonnegative.