ndmitchell / ghcid

Very low feature GHCi based IDE
Other
1.13k stars 114 forks source link

[vscode] Setting a custom ghcid command doesn't work #268

Open neongreen opened 5 years ago

neongreen commented 5 years ago

I have in VSCode workspace settings:

{
    "ghcid.command": "ghcid -c 'stack ghci'"
}

When I call "Start Ghcid" from the command palette, I get in the terminal:

execvp(3) failed.: No such file or directory

After that VSCode displays an error popup:

The terminal process command 'ghcid -c 'stack ghci' --outputfile=/var/folders/fh/_lrvm56n1tsfdlblcqyw220r0000gn/T/ghcid-a198651def07ce7ab1c0.txt' failed to launch (exit code: 1)

Running the same command in the terminal works normally. Running ghcid without a custom ghcid.command also works normally.