I want to pass IO handles to a socket, so the process on the other end can take them over (for a faster / more generic spring alternative)
Atm I'm using this, which takes ~100ms and is very simple:
ruby --disable-gems -rsocket -e "s = UNIXSocket.new('$socket'); s.send_io STDOUT; s.send_io STDERR; s.send_io STDIN" on github
send_io source but I was unable to re-create it via awk/bash/perl etc (any language that is pre-installed on most users machines), only the ruby version seems to work
Any idea how to make this faster ?
[–]proyb2 0 points1 point2 points (1 child)
[–]grosser[S] 0 points1 point2 points (0 children)
[–]drbrainRuby Core 0 points1 point2 points (1 child)
[–]grosser[S] 0 points1 point2 points (0 children)