mirror of
https://github.com/aphrody-labs/PowerShell.git
synced 2026-10-17 12:45:47 +00:00
So short of re-implementing an entire new PSHost for non-interactive sessions, this is a work-around. If a script (file or command) is passed to the shell, we tunnel that information through to the raw UI so it can skip calling out to the TTY (which may not exist). There has to be a better way to do this, but the structure of PSHost > UI > Raw UI just makes this incredibly difficult.