Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cygwin - terminated with exit code 1 ? #23

Closed
SheepDomination opened this issue May 24, 2018 · 4 comments
Closed

Cygwin - terminated with exit code 1 ? #23

SheepDomination opened this issue May 24, 2018 · 4 comments

Comments

@SheepDomination
Copy link

SheepDomination commented May 24, 2018

Oh I see why @Tyriar promoted this based on a question I had for VSCode, it's his tool.
I have the extension installed but; after setting up Cygwin and existing from a Cygwin Terminal I get the error mentioned a few times with VSCode and that is this.

Why am I getting this error only with Cygwin ? As well I'd like to disable showing of the path of the shell I want to open within shell-launcher; and change the color of each shell name in the list.

@Tyriar
Copy link
Owner

Tyriar commented May 24, 2018

@SheepDomination does it happen when you configure a normal terminal to launch cygwin? Can you share your settings.json file?

@SheepDomination
Copy link
Author

SheepDomination commented May 24, 2018

@Tyriar Before changing to Shell-launcher I don't recall having the terminated with exit code 1 error with Cygwin. This is the section of my settings.json file, I hope it helps ?

"shellLauncher.shells.windows": [ { "shell": "C:\\Windows\\System32\\cmd.exe", "label": "cmd" }, { "shell": "C:\\Windows\\System32\\WindowsPowerShell\\v1.0\\powershell.exe", "label": "PowerShell" }, { "shell": "C:\\Windows\\System32\\bash.exe", "label": "WSL Bash" }, { "shell": "C:\\cygwin64\\Cygwin.bat", "label": "Cygwin Bash" } ]

@Tyriar
Copy link
Owner

Tyriar commented May 25, 2018

Do you need to use cygwin64\bin\bash.exe? microsoft/vscode#14977

@SheepDomination
Copy link
Author

The solution for issue #14977 as you posted, worked; the error has disappeared. I suppose the shell arguments are necessary for this issue.

Although I don't quite understand what you mean by, Do you need to use cygwin64\bin\bash.exe? ?

@Tyriar Tyriar closed this as completed May 27, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants