search for: startf_flag

Displaying 3 results from an estimated 3 matches for "startf_flag".

Did you mean: startf_flags
2006 Nov 21
3
Fw: re. win32-process
Hi all, Any ideas for the question below? I know how to do this in theory - make the ''inherit'' flag true, and set the ''stdout'' and ''stderr'' startf_flags hash options to 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...
2006 Apr 14
3
[ win32utils-Bugs-4101 ] create hash param
...Resolution: None Priority: 3 Submitted By: Nobody (None) Assigned to: Nobody (None) Summary: create hash param Initial Comment: hi, problem with process, when I do pid = Process.create( :app_name => command[0], :creation_flags => Process::DETACHED_PROCESS||Process::ABOVE_NORMAL, :startf_flags=> Process::USESHOWWINDOW, :sw_flags => Process::SW_MINIMIZE ) it appear in the normal show windows, ane the ABOVE_NORMAL is''nt used. it seems that the parameters arent used . any help? ---------------------------------------------------------------------- You can respond by v...
2008 Feb 27
0
Making redirecting output with win32-process a bit easier
...objects are not currently supported. + # + # If ''stdin'', ''stdout'' or ''stderr'' are specified, then the +inherit+ value + # is automatically set to true and the Process::STARTF_USESTDHANDLES flag is + # automatically OR''d to the +startf_flags+ value. # # The ProcessInfo struct contains the following members: # @@ -381,8 +385,10 @@ if handle == INVALID_HANDLE_VALUE raise Error, get_last_error end - + si_hash[io] = handle + si_hash[''startf_flags'...