How Can I Execute KM Shell Script without any KM Variables in the Shell Environment?

Why do you care that the KM Variables are in the shell environment?
Have you tried running "kitty" in an Execute a Shell Script action?

Note that the KM Execute Shell Script does NOT allow any user interaction in the shell.

Also, note the following:

The Execute a Shell Script action executes a specified shell script using /bin/sh, either from a file or from the script embedded in the action.

Important:

  • It is best to always specify the language using the #! at the front of the script.

  • The script is executed with the sh shell, so if you want to use another language, or use any special kinds of shell-specific syntax, then you should specify the language.

  • For more details and examples, see How to Use Shebang at Top of Shell Script

Not that I know of. Perhaps @peternlewis can comment/clarify.