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

error occurs when close terminal ,console or cmd #74403

Closed
lonetrail opened this issue May 27, 2019 · 6 comments
Closed

error occurs when close terminal ,console or cmd #74403

lonetrail opened this issue May 27, 2019 · 6 comments
Assignees
Labels
*duplicate Issue identified as a duplicate of another issue(s)

Comments

@lonetrail
Copy link

lonetrail commented May 27, 2019

Issue Type: Bug
Every time I close the terminal, console or cmd window , it doesn't work. And vscode shows a noticification :"The terminal process terminated with exit code: 3221225786". The terminal windows didn't close until close it for the second time. This never happened in the older versions. I have reinstall vscode and win10 system for times, and noting changed.
Another issue, I can't input anything in integratedinterminal. Whatever key I press in integratedTerminal, it closes by itself.
My os version is win10 1903.

VS Code version: Code 1.34.0 (a622c65, 2019-05-15T21:59:37.030Z)
OS version: Windows_NT x64 10.0.18362

System Info
Item Value
CPUs Intel(R) Core(TM) i5-8300H CPU @ 2.30GHz (8 x 2304)
GPU Status 2d_canvas: enabled
checker_imaging: disabled_off
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: enabled
surface_synchronization: enabled_on
video_decode: enabled
webgl: enabled
webgl2: enabled
Load (avg) undefined
Memory (System) 15.81GB (11.12GB free)
Process Argv
Screen Reader no
VM 0%
Extensions (4)
Extension Author (truncated) Version
code-gnu-global aus 0.2.2
code-runner for 0.9.9
vscode-language-pack-zh-hans MS- 1.34.2
cpptools ms- 0.23.1
@lonetrail lonetrail changed the title 关闭终端窗口报错 error occurs when close console or cmd May 27, 2019
@lonetrail lonetrail changed the title error occurs when close console or cmd error occurs when close terminal ,console or cmd May 27, 2019
@lonetrail
Copy link
Author

Issue Type: Bug
Every time I close the terminal, console or cmd window , it doesn't work. And vscode shows a noticification :"The terminal process terminated with exit code: 3221225786". The terminal windows didn't close until close it for the second time. This never happened in the older versions. I have reinstall vscode and win10 system for times, and noting changed.
Another issue, I can't input anything in integratedinterminal. Whatever key I press in integratedTerminal, it closes by itself.
My os version is win10 1903.

VS Code version: Code 1.34.0 (a622c65, 2019-05-15T21:59:37.030Z)
OS version: Windows_NT x64 10.0.18362

System Info
Extensions (4)

when I change "Terminal › Integrated › Shell: Windows" in the setting, it goes right.But still can't use terminal. I select "terminal" below. An window is opened. but in the "setting" I selected Integrated-Terminal.

@Tyriar
Copy link
Member

Tyriar commented May 31, 2019

Can you share your settings.json file and a screenshot of what it looks like when you can't use it as in #74403 (comment)?

@lonetrail
Copy link
Author

lonetrail commented May 31, 2019

settings.zip
image
Here it is. I've changed terminal into git-bash and chosen integrated-terminal in the Settings. And when I click termial below, the window of git-bash emerges( you can see it on the screenshoot attached)
Now I change the terminal back to cmd. When opening vscode, cmd ermerges by itself. And I close cmd next. But doesn't work. You could see this situation on the screenshoot below:
image
I close for the second time. It finally works. Then something unusaul happens.The output area disappears. See this on the picture below:
image
Then it runs the same way like the Git-bash. It never runs in the integrated-terminal whenever I chose Integrated terminal or external terminal. I remember when window of terminal didn't emerge, I press one key in integrated terminal, the terminal close byself. Just like the third picture I upload.
Sorry for my poor English.

@lonetrail
Copy link
Author

I uninstall vscode and delete all the files related. Then I install it again. Change nothing. Only add the laun.json and task.json and C/C+ extension. Then I run helloworld.cpp. problem stiil exist.
The second time I install vscode, I still change noting. Only add C/C++ extension and code runner extension. I didn't add launch.json and task.json. Just use code runner to run cpp file, but I click terminal, the window of terminal appears. Code can run without input feature. I change the setting of code runner "run in terminal", which means I could input. But now, still no input, and can't run. I changed nothing else. .json file is attched.
launch&tasks_json_file.zip

When I use vscode in Ubuntu, everything works perfectly. I just can't figure out why, last month, everything on windows platform worked fine as well. Hope this can have a help. THank you for your work!

@lonetrail lonetrail reopened this May 31, 2019
@Tyriar
Copy link
Member

Tyriar commented May 31, 2019

/duplicate #73790

@Tyriar Tyriar closed this as completed May 31, 2019
@vscodebot vscodebot bot added the *duplicate Issue identified as a duplicate of another issue(s) label May 31, 2019
@vscodebot vscodebot bot locked and limited conversation to collaborators Jul 15, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
*duplicate Issue identified as a duplicate of another issue(s)
Projects
None yet
Development

No branches or pull requests

2 participants