Changed process kill commands to use 'exec_command'.