crankycyclops / trogdor-pp

A unified engine for building text adventures and MUDs with batteries included.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Server: catch CTRL-C and shutdown cleanly

crankycyclops opened this issue · comments

commented

Catch both CTRL-C and the kill signal (are they the same?) in both POSIX and Windows (Windows will probably remain untested for a while.) Proceed to shut the server down cleanly.

See: http://stackoverflow.com/questions/1641182/how-can-i-catch-a-ctrl-c-event-c

commented

Already done.