Fix is_terminal
's handling of long paths on Windows.
#108391
Merged
is_terminal
's handling of long paths on Windows.
#108391