Click or drag to resize

LinuxConsoleAllocator Methods

The LinuxConsoleAllocator type exposes the following members.

Methods
  NameDescription
Public methodStatic memberAlloc
Opens a terminal emulator window and redirects stdout and stderr into it. Returns true on success (or if the console was already allocated), false if no console could be allocated (e.g. because there is no display, or no known terminal emulator is installed), the reason is printed to stderr then.
Public methodStatic memberFree
Restores stdout and stderr, which closes the pipe to the terminal emulator window (it then shows a hint and waits for Enter). Returns true if a console was allocated before.
Top
See Also