Crash after using pshell

Jan 12, 2014
502
9
Switzerland, SO
Hi

After using pshell with Microsoft Windows 10 Pro x64 [19044.1586] [21H2] [de-CH] TCC 28.02.18 x64 ... I have always a crash after closing TCC.

The pshell command itself works (for example pshell /s "type $Profile") - but it takes some seconds till it's executed and as I said after I close the TCC window it crashes.

pshell_crash.png


Name der fehlerhaften Anwendung: tcc.exe, Version: 28.2.18.0, Zeitstempel: 0x61909c84
Name des fehlerhaften Moduls: unknown, Version: 0.0.0.0, Zeitstempel: 0x00000000
Ausnahmecode: 0xc0000005
Fehleroffset: 0x00007ff999b57962
ID des fehlerhaften Prozesses: 0x1a64
Startzeit der fehlerhaften Anwendung: 0x01d83d3fe2e0ee21
Pfad der fehlerhaften Anwendung: C:\Program Files\JPSoft\TCMD28\tcc.exe
Pfad des fehlerhaften Moduls: unknown
Berichtskennung: 30c470ff-8354-4791-9857-bfa3dce6874a
Vollständiger Name des fehlerhaften Pakets:
Anwendungs-ID, die relativ zum fehlerhaften Paket ist:

I have no other error logs it seems.

Can you help please?

Greetings
 
Jan 12, 2014
502
9
Switzerland, SO
Seems it has to do with my "Microsoft.PowerShell_profile.ps1" - because after I delete that file it works. I'll investigate this yet and report it here ...

Yup, it's because the oh-my-posh module, resp. the following commands:

Code:
Import-Module 'oh-my-posh'

Set-PoshPrompt -Theme ys
 
Jan 12, 2014
502
9
Switzerland, SO
Additionally the following module is problematic too - because it's not really compatible with pshell resp. vice versa:

Code:
Import-Module 'Terminal-Icons'

For example the following command does not work:

Code:
pshell /s "ls"

at least it does not crash after closing TCC.
 

Similar threads