We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 4ff3c79 + 0b0535c commit 1b9649fCopy full SHA for 1b9649f
lib/server.ts
@@ -21,9 +21,9 @@ export function start(opts: LSPXOptions): Operation<RPCEndpoint> {
21
let agents: LSPAgent[] = [];
22
23
for (let command of opts.commands) {
24
- let [exe, ...args] = command.split(/\s/g);
25
- let process = yield* useDaemon(exe, {
26
- args,
+ let [exe] = command.split(/\s/g);
+ let process = yield* useDaemon("/bin/sh", {
+ args: ["-c", command],
27
stdin: "piped",
28
stdout: "piped",
29
stderr: "piped",
0 commit comments