search for: stdout_timeout

Displaying 2 results from an estimated 2 matches for "stdout_timeout".

2006 Nov 01
0
fatal flaw in popen4 on windows? [WAS] Re: Nonblocking IO read (fwd)
...0 ] > stdout = getopt[ %w( stdout out o 1 ) << 1 ] > stderr = getopt[ %w( stderr err e 2 ) << 2 ] > pid = getopt[ ''pid'' ] > timeout = getopt[ %w( timeout spawn_timeout ) ] > stdin_timeout = getopt[ %w( stdin_timeout ) ] > stdout_timeout = getopt[ %w( stdout_timeout io_timeout ) ] > stderr_timeout = getopt[ %w( stderr_timeout ) ] > status = getopt[ %w( status ) ] > cwd = getopt[ %w( cwd dir ), Dir.pwd ] > > exitstatus = > case exitstatus > when TrueClass, FalseClass >...
2006 Aug 07
0
open4-0.5.0
...im pease (thanks tim!), i added timeout features to open4. the command run may have an overall timeout and individual timeouts set for each of the io handles. for example cmd = ''command_that_produce_out_at_one_second_intervals'' open4.spawn cmd, :stdout_timeout => 2 or cmd = ''command_that_should_complete_in_about_one_minute'' open4.spawn cmd, :timeout => 60 or cmd = ''consumes_input_at_one_line_per_second_rate'' input = %w( 42 forty-two 42.0 ) open4.sp...