elvish/daemon
Qi Xiao b1f33314bf Make daemon work on Windows.
The following are done on Windows:

1) Daemon listens on a TCP socket on 127.0.0.1, and writes the address
   to the sock file. Client reads the sock file and interpretes it as
   a TCP address.

2) Daemon only forks once, with an environment containing the SystemRoot
   variable (which for some reason is required for net.Listen to
   function).

The code is far from ideal, but it works \o/
2017-12-15 00:52:03 +00:00
..
api Make daemon work on Windows. 2017-12-15 00:52:03 +00:00
daemon_test.go Moving packages around. 2017-12-04 21:08:45 +01:00
daemon.go Make daemon work on Windows. 2017-12-15 00:52:03 +00:00
listen_unix.go Make daemon work on Windows. 2017-12-15 00:52:03 +00:00
listen_windows.go Make daemon work on Windows. 2017-12-15 00:52:03 +00:00