Improve case_generation Class to Support Linux Compatibility
Description
The case_generation helper class currently type-checks only for .exe files when postprocessing and executing module binaries. This creates compatibility issues on Linux systems, as it assumes the binaries are Windows executables.
This limitation forces Python/Linux users to modify the code to adapt it for their environment. To improve cross-platform compatibility, it would be helpful to revise the implementation to use the Python subprocess library, which can handle executable files in a platform-independent manner.
Proposed Solution
- Refactor the
case_generation class to remove hardcoded type checks for .exe files.
- Utilize the Python
subprocess library to execute binaries, ensuring compatibility across both Windows and Linux platforms.
This update would streamline usage for Linux users and reduce the need for manual code changes.