ProcessLaunchInfo: Allow cmd to be a list, use a list for csharp_language_server

This commit is contained in:
Dominik Jain committed 2025-06-29 16:44:59 +02:00
1 parent 0d9fb0a196
commit b5fb7867b3
2 files changed
+2 -2

No files matched your search

@@ -233,7 +233,7 @@ class CSharpLanguageServer(SolidLanguageServer):
# Join command parts with spaces
# ProcessLaunchInfo expects a simple string command, not shell-quoted
cmd = " ".join(cmd_parts)
cmd = cmd_parts
logger.log(f"Language server command: {cmd}", logging.DEBUG)
+1 -1
View File
@@ -50,7 +50,7 @@ class ProcessLaunchInfo:
"""
# The command to launch the process
cmd: str
cmd: str | list[str]
# The environment variables to set for the process
env: dict[str, str] = dataclasses.field(default_factory=dict)