Class PtyShim
- Namespace
- SharpConsoleUI
- Assembly
- SharpConsoleUI.dll
Entry-point helper that detects and runs the in-process PTY shim mode.
Call RunIfShim(string[]) at the very start of Main before any UI initialisation.
public static class PtyShim
- Inheritance
-
PtyShim
- Inherited Members
Methods
RunIfShim(string[])
If args start with --pty-shim, sets up slave PTY and exec's the target. On success never returns. Returns false if not in shim mode or not on Linux.
public static bool RunIfShim(string[] args)
Parameters
argsstring[]