Skip to content

Windows LSP process_spawn and console creation #186

@dgriffie79

Description

@dgriffie79

When using the LSP in Windows, the process spawned to run 'onyx check' creates a console which pops up while the process is running. This is a bit annoying when using vscode with lsp and I imagine other editors in windows.

I have found this can be disabled by passing CREATE_NO_WINDOW in to CreateProcessA, as seen here https://github.com/dgriffie79/onyx/commit/f80e8cefa0f2fec306ee24101157d137b56e9f53

Can this be exposed as an option in process_spawn?

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