Sha256: a8f8934d414a50af6e2c4b0d24015e8a2b093e079ce62d0c1a7af0a1fc1e6756
Contents?: true
Size: 653 Bytes
Versions: 1
Compression:
Stored size: 653 Bytes
Contents
module Spring module Client module RunImpl TIMEOUT = 60 def queue_signals # NOP end def send_std_io_to(application) # NOP end def run_on(application, screen_name) application.close server.close # Using vt100 because it does not have smcup/rmcup support, # which means the output of the screen will stay shown after # screen closes. set_vt_100 = "export TERM=vt100; tset" erase_screen_message = "echo '\\033[2A\\033[K'" Kernel.exec("#{set_vt_100}; screen -r #{screen_name}; #{erase_screen_message}") end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
spring-jruby-1.4.3 | lib/spring-jruby/impl/pool/run.rb |