DEV: Raise exception when execute_command will spawn a shell (PR #12716)

GitHub