noreply at rubyforge.org
2006-Apr-14 15:27 UTC
[Win32utils-devel] [ win32utils-Bugs-4101 ] create hash param
Bugs item #4101, was opened at 2006-04-14 11:27 You can respond by visiting: http://rubyforge.org/tracker/?func=detail&atid=411&aid=4101&group_id=85 Category: win32-process Group: None Status: Open 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 visiting: http://rubyforge.org/tracker/?func=detail&atid=411&aid=4101&group_id=85
noreply at rubyforge.org
2006-Apr-14 15:29 UTC
[Win32utils-devel] [ win32utils-Bugs-4101 ] create hash param
Bugs item #4101, was opened at 2006-04-14 15:27 You can respond by visiting: http://rubyforge.org/tracker/?func=detail&atid=411&aid=4101&group_id=85 Category: win32-process Group: None Status: Open 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? ---------------------------------------------------------------------- Comment By: Tophe Vigny (tophe) Date: 2006-04-14 15:29 Message: pid = Process.create( :app_name => command[0], :creation_flags =>Process::DETACHED_PROCESS :sw_flags => Process::SW_MINIMIZE ) won''t work too ! please advice ---------------------------------------------------------------------- You can respond by visiting: http://rubyforge.org/tracker/?func=detail&atid=411&aid=4101&group_id=85
noreply at rubyforge.org
2006-Apr-16 01:15 UTC
[Win32utils-devel] [ win32utils-Bugs-4101 ] create hash param
Bugs item #4101, was opened at 2006-04-15 00:27 You can respond by visiting: http://rubyforge.org/tracker/?func=detail&atid=411&aid=4101&group_id=85 Category: win32-process Group: None Status: Open 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? ---------------------------------------------------------------------->Comment By: Park Heesob (phasis68)Date: 2006-04-16 10:15 Message: First, there is bug in process.c line #482. modify rbFlags = rb_hash_aref(rbArgs,rb_str_new2("creation_flags")) || INT2NUM(0); to rbFlags = rb_hash_aref(rbArgs,rb_str_new2("creation_flags")); if(rbFlags==Qnil) rbFlags = INT2NUM(0); Second, modify your code Process::DETACHED_PROCESS||Process::ABOVE_NORMAL, to Process::DETACHED_PROCESS|Process::ABOVE_NORMAL, Hope this helps, Park Heesob ---------------------------------------------------------------------- Comment By: Tophe Vigny (tophe) Date: 2006-04-15 00:29 Message: pid = Process.create( :app_name => command[0], :creation_flags =>Process::DETACHED_PROCESS :sw_flags => Process::SW_MINIMIZE ) won''t work too ! please advice ---------------------------------------------------------------------- You can respond by visiting: http://rubyforge.org/tracker/?func=detail&atid=411&aid=4101&group_id=85
noreply at rubyforge.org
2006-Apr-16 05:54 UTC
[Win32utils-devel] [ win32utils-Bugs-4101 ] create hash param
Bugs item #4101, was opened at 2006-04-14 08:27 You can respond by visiting: http://rubyforge.org/tracker/?func=detail&atid=411&aid=4101&group_id=85 Category: win32-process>Group: Code >Status: Closed >Resolution: AcceptedPriority: 3 Submitted By: Nobody (None)>Assigned to: Daniel Berger (djberg96)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? ---------------------------------------------------------------------->Comment By: Daniel Berger (djberg96)Date: 2006-04-15 22:54 Message: The bug has been fixed in CVS and will be released tomorrow. Also, as per Heesob''s comments, use ''|'', not ''||''. Thanks for the report. Dan ---------------------------------------------------------------------- Comment By: Park Heesob (phasis68) Date: 2006-04-15 18:15 Message: First, there is bug in process.c line #482. modify rbFlags = rb_hash_aref(rbArgs,rb_str_new2("creation_flags")) || INT2NUM(0); to rbFlags = rb_hash_aref(rbArgs,rb_str_new2("creation_flags")); if(rbFlags==Qnil) rbFlags = INT2NUM(0); Second, modify your code Process::DETACHED_PROCESS||Process::ABOVE_NORMAL, to Process::DETACHED_PROCESS|Process::ABOVE_NORMAL, Hope this helps, Park Heesob ---------------------------------------------------------------------- Comment By: Tophe Vigny (tophe) Date: 2006-04-14 08:29 Message: pid = Process.create( :app_name => command[0], :creation_flags =>Process::DETACHED_PROCESS :sw_flags => Process::SW_MINIMIZE ) won''t work too ! please advice ---------------------------------------------------------------------- You can respond by visiting: http://rubyforge.org/tracker/?func=detail&atid=411&aid=4101&group_id=85