Skip to content

CLI: Editor GUI always opens when using --compile flag #399

@chances

Description

@chances

I'm invoking the CLI: sanny.exe --no-splash --mode gta3_sbl --compile main.txt

However, the editor GUI always opens.

Apparently, the CLI doesn't support relative paths. When I supply an absolute path, the GUI flashes on the screen. This is unintuitive and not in keeping with common behavior of other CLIs.

Expected Behavior

The program should compile the given script, or fail, without opening the GUI.

The --compile flag ought support relative paths, given my current working directory.

Environment

OS: Windows 10 Home 22H2 19045.7184
Sanny Builder version: 4.2.0

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