Skip to content

Improve case_generation in example code Class to Support Linux Compatibility #27

@ombahiwal

Description

@ombahiwal

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions