Displaying 3 results from an estimated 3 matches for "creation_flag".
Did you mean:
creation_flags
2006 Apr 14
3
[ win32utils-Bugs-4101 ] create hash param
...id=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?
---------------------...
2006 Nov 21
3
Fw: re. win32-process
...pp_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::STARTF_USESTDHANDLES,
:stdout => my_out,
:stderr => my_err
}
)
I think it would be neat if you could pass IO objects (or perhaps a fileno) to :stdout, :stderr, and :stdin directly. A...
2007 Dec 05
21
Fwd: win32/process problem
Any ideas?
---------- Forwarded message ----------
From: Christian Kerth <christian.ke... at dynamicmedia.at>
Date: Dec 5, 8:28 am
Subject: win32/process problem
To: comp.lang.ruby
I have an application that consists of serveral independent parts.
I want to use the Windows Process API to spawn the different
processes.
e.g.
require ''rubygems''
require