Should I report this, or is this expected behavior?
PS C:Userstestadmin> Start-Process powershell -ArgumentList "-noprofile -NoExit -Command `"Write-Host 'Hi'`"" -PassThru -NoNewWindow Handles NPM(K) PM(K) WS(K) CPU(s) Id SI ProcessName ------- ------ ----- ----- ------ -- -- ----------- 27 2 236 724 0.03 4492 2 powershell PS C:Userstestadmin> Hi PS C:Userstestadmin> PS C:Userstestadmin> In et ppear ieene PS C:Userstestadmin> PS C:Userstestadmin> am typing words now adsometims heyaonadffrt lin
(In case it isn’t clear, the issue is that once I use Start-Process to start another powershell process using the -NoExit and -NoNewWindow switches, when I type anything in the shell, letters randomly appear on different lines, which I think represent the two different processes. This effectively makes the session unusable and I have to close and reopen the PowerShell.)
submitted by /u/fourierswager
[link] [comments]
The post Start-Process glitch, or as intended? appeared first on How to Code .NET.