Reports that terminal subprocesses are exiting with 0xc0000142 (no console host) #6730

Closed
opened 2026-01-31 00:45:52 +00:00 by claunia · 13 comments
Owner

Originally created by @CaptainMorgans on GitHub (Mar 3, 2020).

image

Get this error on opening the Terminal. Please help!

Originally created by @CaptainMorgans on GitHub (Mar 3, 2020). ![image](https://user-images.githubusercontent.com/3514724/75823501-89721500-5daa-11ea-92ad-9044289ebfa5.png) Get this error on opening the Terminal. Please help!
Author
Owner

@DHowett-MSFT commented on GitHub (Mar 3, 2020):

Please don't delete the bug template.

@DHowett-MSFT commented on GitHub (Mar 3, 2020): Please don't delete the bug template.
Author
Owner

@DHowett-MSFT commented on GitHub (Mar 3, 2020):

That information is very, very important for us to figure out what happened to your Terminal.

@DHowett-MSFT commented on GitHub (Mar 3, 2020): That information is very, very important for us to figure out what happened to your Terminal.
Author
Owner

@CaptainMorgans commented on GitHub (Mar 3, 2020):

Please reopen this thread so I can get feedback on what is wrong with my terminal program.

@CaptainMorgans commented on GitHub (Mar 3, 2020): Please reopen this thread so I can get feedback on what is wrong with my terminal program.
Author
Owner

@CaptainMorgans commented on GitHub (Mar 3, 2020):

image

This is my current system for consideration to the above reported bug.

@CaptainMorgans commented on GitHub (Mar 3, 2020): ![image](https://user-images.githubusercontent.com/3514724/75824290-ecb07700-5dab-11ea-8015-cdc39b7518b4.png) This is my current system for consideration to the above reported bug.
Author
Owner

@zadjii-msft commented on GitHub (Mar 3, 2020):

Can we get the version of the Terminal that you're running? Perhaps share your profiles.json?

@zadjii-msft commented on GitHub (Mar 3, 2020): Can we get the version of the Terminal that you're running? Perhaps share your `profiles.json`?
Author
Owner

@CaptainMorgans commented on GitHub (Mar 3, 2020):

Windows Terminal (Preview)
Version: 0.9.433.0

@CaptainMorgans commented on GitHub (Mar 3, 2020): Windows Terminal (Preview) Version: 0.9.433.0
Author
Owner

@CaptainMorgans commented on GitHub (Mar 3, 2020):

// To view the default settings, hold "alt" while clicking on the "Settings" button.
// For documentation on these settings, see: https://aka.ms/terminal-documentation

{
"$schema": "https://aka.ms/terminal-profiles-schema",

"defaultProfile": "{61c54bbd-c2c6-5271-96e7-009a87ff44bf}",

"profiles":
{
    "defaults":
    {
        // Put settings here that you want to apply to all profiles
    },
    "list":
    [
        {
            // Make changes here to the powershell.exe profile
            "guid": "{61c54bbd-c2c6-5271-96e7-009a87ff44bf}",
            "name": "Windows PowerShell",
            "commandline": "powershell.exe",
            "hidden": false
        },
        {
            // Make changes here to the cmd.exe profile
            "guid": "{0caa0dad-35be-5f56-a8ff-afceeeaa6101}",
            "name": "cmd",
            "commandline": "cmd.exe",
            "hidden": false
        },
        {
            "guid": "{b453ae62-4e3d-5e58-b989-0a998ec441b8}",
            "hidden": false,
            "name": "Azure Cloud Shell",
            "source": "Windows.Terminal.Azure"
        }
    ]
},

// Add custom color schemes to this array
"schemes": [],

// Add any keybinding overrides to this array.
// To unbind a default keybinding, set the command to "unbound"
"keybindings": []

}

@CaptainMorgans commented on GitHub (Mar 3, 2020): // To view the default settings, hold "alt" while clicking on the "Settings" button. // For documentation on these settings, see: https://aka.ms/terminal-documentation { "$schema": "https://aka.ms/terminal-profiles-schema", "defaultProfile": "{61c54bbd-c2c6-5271-96e7-009a87ff44bf}", "profiles": { "defaults": { // Put settings here that you want to apply to all profiles }, "list": [ { // Make changes here to the powershell.exe profile "guid": "{61c54bbd-c2c6-5271-96e7-009a87ff44bf}", "name": "Windows PowerShell", "commandline": "powershell.exe", "hidden": false }, { // Make changes here to the cmd.exe profile "guid": "{0caa0dad-35be-5f56-a8ff-afceeeaa6101}", "name": "cmd", "commandline": "cmd.exe", "hidden": false }, { "guid": "{b453ae62-4e3d-5e58-b989-0a998ec441b8}", "hidden": false, "name": "Azure Cloud Shell", "source": "Windows.Terminal.Azure" } ] }, // Add custom color schemes to this array "schemes": [], // Add any keybinding overrides to this array. // To unbind a default keybinding, set the command to "unbound" "keybindings": [] }
Author
Owner

@zadjii-msft commented on GitHub (Mar 3, 2020):

And what's your %PATH% environment variable set to?

@zadjii-msft commented on GitHub (Mar 3, 2020): And what's your `%PATH%` environment variable set to?
Author
Owner

@CaptainMorgans commented on GitHub (Mar 3, 2020):

PATH=C:\Program Files (x86)\Common Files\Oracle\Java\javapath;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0;C:\Windows\System32\OpenSSH;C:\Program Files\Microsoft VS Code\bin;C:\Program Files\PuTTY;C:\Users\Captain\AppData\Local\Microsoft\WindowsApps;;C:\Users\Captain\AppData\Local\Programs\Microsoft VS Code\bin;C:\Program Files (x86)\Nmap

@CaptainMorgans commented on GitHub (Mar 3, 2020): PATH=C:\Program Files (x86)\Common Files\Oracle\Java\javapath;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Windows\System32\OpenSSH\;C:\Program Files\Microsoft VS Code\bin;C:\Program Files\PuTTY\;C:\Users\Captain\AppData\Local\Microsoft\WindowsApps;;C:\Users\Captain\AppData\Local\Programs\Microsoft VS Code\bin;C:\Program Files (x86)\Nmap
Author
Owner

@CaptainMorgans commented on GitHub (Mar 4, 2020):

Any idea on this issue? I have not been able to solve it yet myself.

@CaptainMorgans commented on GitHub (Mar 4, 2020): Any idea on this issue? I have not been able to solve it yet myself.
Author
Owner

@DHowett-MSFT commented on GitHub (Mar 9, 2020):

/feedback

@DHowett-MSFT commented on GitHub (Mar 9, 2020): /feedback
Author
Owner

@ghost commented on GitHub (Mar 9, 2020):

Hi there!

Can you please send us feedback with the Feedback Hub with this issue and paste the link here so we can more easily find your crash information on the back end?

Thanks!

image image

@ghost commented on GitHub (Mar 9, 2020): Hi there!<br><br>Can you please send us feedback with the Feedback Hub with this issue and paste the link here so we can more easily find your crash information on the back end?<br><br>Thanks!<br><br>![image](https://user-images.githubusercontent.com/18221333/62478757-b69d0d00-b760-11e9-9626-1fa33c91e7c5.png) ![image](https://user-images.githubusercontent.com/18221333/62478649-6de55400-b760-11e9-806e-5aab7e085a9f.png)
Author
Owner

@ghost commented on GitHub (Mar 24, 2020):

This issue has been automatically marked as stale because it has been marked as requiring author feedback but has not had any activity for 4 days. It will be closed if no further activity occurs within 3 days of this comment.

@ghost commented on GitHub (Mar 24, 2020): This issue has been automatically marked as stale because it has been marked as requiring author feedback but has not had any activity for **4 days**. It will be closed if no further activity occurs **within 3 days of this comment**.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#6730