-
Notifications
You must be signed in to change notification settings - Fork 513
terminal process exited with code:1 #1404
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
Comments
Thanks for this. I noticed your VSCode version is quite behind... Can you upgrade to the latest and try again? |
Hi @ajpaul18, thanks for opening an issue. This looks like a startup crash in EditorServices, but we'll need to collect more information to work out what the root problem is. Out of curiosity, does red text flash in the console before the crash occurs? If so, the best way to work out what it says is a screen recorder (like a screen to GIF recorder). (Making that diagnosis easier is on the list of things to improve!) |
Oh, yeah, like @tylerl0706 says, also worth upgrading VSCode! |
I have updated to july 2018. Still the console crashes. |
I believe the issue is that your home dir is named We would either need to double-up single quotes or switch to using double quotes. Using double quotes is problematic because of unintentional interpolation. Perhaps we preprocess these four paths to "escape" (double) the single quotes. |
@ajpaul18 No need for red text, that message is the important bit. We should probably do some string escaping for the start script call |
Yes,the user name is the problem. i tried installing in another user account , it worked fine. |
We should be able to fix this though. |
Update the regex in the start script? |
It fails before it even starts the start script. This needs to be fixed in the extension where we launch powershell.exe with those args. I'm working on a fix right now but I don't have a good test case for this. Perhaps you could test it for me? Nevermind, figured out an easy way to test it (without renaming my home dir or creating a new user). |
OK, have a fix. If you would like to try it out. Download this zip and extract the two files into your I you try this, please let us know if it fixes the issue for you. |
@rkeithhill & @tylerl0706 .. Thanks guys, the fix works. |
Let's let the PR merge automatically close this issue. :-) |
Issue Type: Bug
During VS Code startup,Powershell Terminal exits with the following errors
Extension version: 1.7.0
VS Code version: Code - Insiders 1.23.0-insider (a656d397e424173c86f32703e0c0293bd8084da0, 2018-05-03T00:07:45.778Z)
OS version: Windows_NT ia32 10.0.17134
System Info
flash_3d: enabled
flash_stage3d: enabled
flash_stage3d_baseline: enabled
gpu_compositing: enabled
multiple_raster_threads: enabled_on
native_gpu_memory_buffers: disabled_software
rasterization: disabled_software
video_decode: enabled
video_encode: enabled
vpx_decode: enabled
webgl: enabled
webgl2: enabled
The text was updated successfully, but these errors were encountered: