Finalized ShellService's command execution infrastructure.