PowerShell tabs often stop with "process exited with code 5" #13650

Open
opened 2026-01-31 03:48:27 +00:00 by claunia · 0 comments
Owner

Originally created by @SpitFire-666 on GitHub (Apr 28, 2021).

Windows Terminal version (or Windows build number)

1.7.1033.0

Other Software

OneDrive

Steps to reproduce

(I think this is what's happening)

  1. Have OneDrive installed/signed in
  2. Open a bunch of PowerShell tabs and CD to your OneDrive ( cd $env:\Onedrive )
  3. Open a PowerShell tab and CD to C:\ drive
  4. Put computer to sleep/hibernate
  5. Wake the computer

Expected Behavior

PowerShell tabs should remain available for use

Actual Behavior

The PowerShell tabs in the OneDrive path display
[process exited with code 5]

image

The busted tab will no longer receive any input.

Note that a normal PowerShell window seems unaffected.

Originally created by @SpitFire-666 on GitHub (Apr 28, 2021). ### Windows Terminal version (or Windows build number) 1.7.1033.0 ### Other Software OneDrive ### Steps to reproduce (I **think** this is what's happening) 1. Have OneDrive installed/signed in 2. Open a bunch of PowerShell tabs and CD to your OneDrive ( `cd $env:\Onedrive` ) 3. Open a PowerShell tab and CD to C:\ drive 3. Put computer to sleep/hibernate 4. Wake the computer ### Expected Behavior PowerShell tabs should remain available for use ### Actual Behavior The PowerShell tabs in the OneDrive path display `[process exited with code 5]` ![image](https://user-images.githubusercontent.com/38451588/116356068-1b09d500-a83e-11eb-9489-c753f718ddc4.png) The busted tab will no longer receive any input. Note that a normal PowerShell window seems unaffected.
claunia added the Issue-QuestionNeeds-Tag-FixResolution-Answered labels 2026-01-31 03:48:27 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#13650