NativeCommandProcessor no longer presents a TTY device to native commands, at least on .NET Core 1.1.
This prevents the use of repls, screen and tmux on UNIX based systems.
The problem appears to have been introduced in b930426
Steps to reproduce
- On Linux, run
Start-DevPowerShell
- Execute
stty
Expected behavior
speed 38400 baud; line = 0;
-brkint -imaxbel iutf8
Actual behavior
/usr/bin/stty: 'standard input': Inappropriate ioctl for device
Environment data
Name Value
---- -----
PSVersion 6.0.0-alpha
PSEdition Core
PSCompatibleVersions {1.0, 2.0, 3.0, 4.0...}
BuildVersion 3.0.0.0
GitCommitId v6.0.0-alpha.12-102-g594759b36fc11272b5842c8ef823c224a5f67836
CLRVersion
WSManStackVersion 3.0
PSRemotingProtocolVersion 2.3
SerializationVersion 1.1.0.1
NativeCommandProcessor no longer presents a TTY device to native commands, at least on .NET Core 1.1.
This prevents the use of repls, screen and tmux on UNIX based systems.
The problem appears to have been introduced in b930426
Steps to reproduce
Start-DevPowerShellsttyExpected behavior
Actual behavior
Environment data