lib/tork/server.rb in tork-19.8.0 vs lib/tork/server.rb in tork-19.8.1

- old
+ new

@@ -18,10 +18,10 @@ at_exit { File.delete address if File.socket? address } rescue Errno::EADDRINUSE # another instance of this program is already running in the same # directory so become a remote control for it rather than exiting warn "#{$0}: remotely controlling existing instance..." - exec 'tork-remote', $0 + exec 'tork-remote', $0, *ARGV end # only JSON messages are supposed to be emitted on STDOUT # so make puts() in the user code write to STDERR instead @stdout = STDOUT.dup