LinuxConsoleAllocator Class |
Namespace: de.unika.ipd.grGen.libConsoleAndOS
public static class LinuxConsoleAllocator
The LinuxConsoleAllocator type exposes the following members.
| Name | Description | |
|---|---|---|
| Alloc |
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.
| |
| Free |
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.
|