aboutsummaryrefslogtreecommitdiffstats
path: root/include/relx.hrl
diff options
context:
space:
mode:
authorFred Hebert <[email protected]>2017-11-20 09:46:32 -0500
committerFred Hebert <[email protected]>2017-11-20 09:46:32 -0500
commitfff13a5293c6f1407c71b6b286ff738f40cc25ec (patch)
tree27097606a23f6b7f4829f62e72b8d7ed16eb0980 /include/relx.hrl
parentcc30e7a73ac5c440acb1c75162720a8b319ac5f7 (diff)
downloadrelx-fff13a5293c6f1407c71b6b286ff738f40cc25ec.tar.gz
relx-fff13a5293c6f1407c71b6b286ff738f40cc25ec.tar.bz2
relx-fff13a5293c6f1407c71b6b286ff738f40cc25ec.zip
Windows: support remote_console, fix attach
On Linux, 'attach' uses named pipes, and 'remote_console' uses -remsh. The latter is usually deemed better since named pipes require a call to fsync on every line written. On Windows, no named pipes are available so attach uses -remsh directly. Historically, remote_console was added to linux *after* attach, but no alias was added for it on windows. Since there's a predominance of tutorials using linux-likes, remote_console is widely documented as the way to go, and is unavailable on windows. This is hella confusing. So to work around that, this patch adds an alias for 'attach' on windows to be 'remote_console', bridging the gap. Also the functionality was flat out broken because it would not use a node hostname when connecting out. Since the latest release added that functionality, this patch also fixes attach to work in the first place.
Diffstat (limited to 'include/relx.hrl')
0 files changed, 0 insertions, 0 deletions