mirror of
https://github.com/go-sylixos/elvish.git
synced 2024-12-13 18:07:51 +08:00
b1f33314bf
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/ |
||
---|---|---|
.. | ||
api | ||
daemon_test.go | ||
daemon.go | ||
listen_unix.go | ||
listen_windows.go |