- 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.
File
SegmentType.is_valid()
AssertionError
SegmentType.GROUP
credential_id