mirror of
https://github.com/tiennm99/serena.git
synced 2026-10-13 06:15:43 +00:00
ProcessLaunchInfo: Allow cmd to be a list, use a list for csharp_language_server
This commit is contained in:
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)
|
||||
|
||||
|
||||
@@ -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)
|
||||
|
||||
Reference in new issue
Block a user