Added spawn_exec{,_shell} functions to exec programs.
Using spawn_exec_shell in exec command.