shell: use exec to launch the new shell and save a process