System.IO.IOException when calling System.Console.WindowWidth

Viewed 8372

When making calls to any one of System.Console.BufferWidth, System.Console.CurserLeft or System.Console.WindowWidth I am greeted with a System.IO.IOException when executing my [console] app from within PsExec. All works correctly when executed within a standard command window.

Any advice is greatly appreciated.

2 Answers
Related