search for: my_out

Displaying 1 result from an estimated 1 matches for "my_out".

Did you mean: m_out
2006 Nov 21
3
Fw: re. win32-process
...something in the startup_info hash, but I wasn''t sure how to do this in practice. It would be nice if the answer could be something like this: require ''win32/process'' app_name = ''c:\ruby\bin\ruby "'' + Dir.pwd + ''/test.rb"'' my_out = $stdout.clone my_err = $stderr.clone my_out.reopen(''NUL'') my_err.reopen(''NUL'') Process.create( :app_name => app_name, :inherit => true, :creation_flags => Process::DETACHED_PROCESS, :startup_info => { :startf_flags => Process:...