You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is due to Start-Process not taking stdin directly but through -RedirectStandardInput via a file. There is a way to wrap and capture to $Input: "foo" | Powershell -Command "Start-Process bash -ArgumentList $Input" ... however this only helps with args.
I'm not aware of another way to do it, but I'm open to suggestions.
File generated in
$env:Temp
isn't opened by VS Code.code.exe
still generates its own file when doing'hello world' | Invoke-VSCode -
Maybe
$inputobjects
can be piped directly in somehow? I'd like to avoid the file generate in$env:Temp
. Below is the code section I'm talking about.PSCode/functions/Invoke-VSCode.ps1
Lines 38 to 41 in 825564d
The text was updated successfully, but these errors were encountered: