Displaying 4 results from an estimated 4 matches for "processinfo".
Did you mean:
process_info
2012 Nov 01
1
build error on CentOS 5
I'm getting the following error when building libvirt 10.2 from source in
CentOS 5:
CC libvirt_util_la-processinfo.lo
util/processinfo.c: In function 'virProcessInfoGetAffinity':
util/processinfo.c:164: error: invalid operands to binary |
The line in question is:
162 for (i = 0 ; i < maxcpu ; i++)
163 if (CPU_ISSET(i, &mask))
164 VIR_USE_CPU(map, i);
Where VIR...
2006 Aug 24
1
[ win32utils-Bugs-5503 ] Process::create() checks return value of CreateProcess against 0, should be false
...should be false
Initial Comment:
In Process::create(), the return value of CreateProcess() is compared against 0 to determine if the CreateProcess call succeeds. It appears that instead of 0, CreateProcess() will return false on a failure, and this comparison will fail (no exception). Instead a ProcessInfo with all 0 values will be returned. If the code is changed to compare against false, an exception is thrown on failure.
----------------------------------------------------------------------
You can respond by visiting:
http://rubyforge.org/tracker/?func=detail&atid=411&aid=5503&g...
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
2008 Feb 27
0
Making redirecting output with win32-process a bit easier
...+ #
+ # 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''] |= STARTF_USESTDHANDLES
+...