Skip to content

Omnisharp fails loading #51

@deathaxe

Description

@deathaxe

Regressed by #50

Omnisharp fails loading since v1.2.2 with following traceback:

Unable to start subprocess for OmniSharp
Traceback (most recent call last):
  File "<ST>\Packages\LSP\plugin\core\windows.py", line 281, in start_async
    transport = create_transport(transport_config, transport_cwd, session)
  File "<ST>\Packages\LSP\plugin\core\transports.py", line 283, in create_transport
    process = start_subprocess()
  File "<ST>\Packages\LSP\plugin\core\transports.py", line 271, in start_subprocess
    return _start_subprocess(config.command, stdin, stdout, subprocess.PIPE, startupinfo, config.env, cwd)
  File "<ST>\Packages\LSP\plugin\core\transports.py", line 350, in _start_subprocess
    process = subprocess.Popen(
        args=args,
    ...<4 lines>...
        env=env,
        cwd=cwd)
  File "./python3.13/subprocess.py", line 1039, in __init__
  File "./python3.13/subprocess.py", line 1554, in _execute_child
OSError: [WinError 87] Falscher Parameter

Reverting to previous version v1.2.1 (or just beforee 1ecedb2) fixes the issue and everything is fine again.

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