- Simplified the command execution logic by removing unnecessary shell invocations. - Enhanced working directory validation by directly using the `test` command. - Improved command parsing with `shlex.split` for better handling of raw commands.
NODE_TYPE_CLASSES_MAPPING