terminal

Describes server attached to tty console. Specified delegate is called when SIGHUP signal is caught (linux only).

Members

Functions

runTerminal
int runTerminal(ILogger logger, int delegate(string[]) progMain, string[] args, void delegate() listener, void delegate() termListener, void delegate() rotateListener, int groupid, int userid)

Run application as casual process (attached to tty) with progMain main function and passes args into it. If daemon catches SIGHUP signal, listener delegate is called (available on linux only).

See Also

daemon

Meta

License

Subject to the terms of the MIT license, as written in the included LICENSE file.

Authors

NCrashed <ncrashed@gmail.com>