you have to spawn a shell. look at `exec`'s source code.