search for: openprocess

Displaying 7 results from an estimated 7 matches for "openprocess".

2010 Dec 25
4
[ win32utils-Bugs-28801 ] unclosed handle in Process.setpriority/getpriority
...Open Resolution: None Priority: 3 Submitted By: Rafa? Michalski (royaltm) Assigned to: Nobody (None) Summary: unclosed handle in Process.setpriority/getpriority Initial Comment: Using Process.setpriority/getpriority was crashing my ruby program. I think the problem was with unclosed handle from OpenProcess() function. my patch for lib/win32/process.rb (0.6.4) follows, however the bug exists also in previous releases. ---------------------------------------------------------------------- You can respond by visiting: http://rubyforge.org/tracker/?func=detail&atid=411&aid=28801&group_id...
2008 Jun 04
12
Mongrel as Windows service with normal privileges
I am trying to run Mongrel 1.1.5 with mongrel_service 0.3.4 on Ruby 1.8.6 with a "normal" user account, i.e. a user which belongs only to the Windows group "Users". The rationale behind this is that running a web server with full administrative rights (e.g. Local System) is not something that I would like to do. Unfortunately, starting the service from the services control
2006 May 07
2
Problem with the new version of win32-process
...ork method. If you run the test_fork_waitpid.rb file (in CVS), you''ll see this error: c:/ruby/lib/ruby/site_ruby/1.8/windows/process.rb:132:in `call'': can''t convert false into Integer (TypeError) from c:/ruby/lib/ruby/site_ruby/1.8/windows/process.rb:132:in `OpenProcess'' from C:/eclipse/workspace/win32-process/lib/win32/process.rb:67:in `waitpid2'' from C:/eclipse/workspace/win32-process/examples/test_fork.rb:46 Which means it''s returning false instead of the pid. Any ideas? Thanks, Dan PS - To run this you'...
2004 Dec 02
0
Updated win32-process in CVS
Hi all, Aslak''s Patch #1137 suggestion inspired me this evening, so I made some modifications to win32-process. Instead of passing back HANDLE''s, I decided to pass back standard integers, and use OpenProcess() to get HANDLE''s as needed on the fly based on the pid numbers. This probably has a minor performance hit, but I think it''s more unix-like on the frontend. It also solves bug #712, and I no longer get a segfault with the sample code (though that may also be because I'...
2018 Aug 30
3
Detecting whether a process exists or not by its PID?
Hi, I'd like to test whether a (localhost) PSOCK cluster node is still running or not by its PID, e.g. it may have crashed / core dumped. I'm ok with getting false-positive results due to *another* process with the same PID has since started. I can the PID of each cluster nodes by querying them for their Sys.getpid(), e.g. pids <- parallel::clusterEvalQ(cl, Sys.getpid()) Is there
2006 Nov 10
0
Wine release 0.9.25
...atl: Implement AtlAxWinInit and AtlAxWin window procedure. atl: Implement AtlModuleAddCreateWndData and AtlModuleExtractCreateWndData. atl: Implement AtlAxCreateControl and AtlAxCreateControlEx. atl: Implement AtlAxCreateDialogA and AtlAxCreateDialogW. advapi32: Test for OpenProcessToken with MAXIMUM_ALLOWED access. shlwapi: Implement GetShellSecurityDescriptor and test for it. Aric Stewart (3): shell32: ABM_NEW was using parameters that are not set. shell32: Create dynamic buffers for expanded enviroment strings to allow for parameters and such longer than...
2007 Jan 09
0
Wine release 0.9.29
...in the MDI message test. kernel32: GetTimeFormat and GetDateFormat should fail if LOCALE_NOUSEROVERRIDE is specified simultaneously with a format string. qcap: Do not store full DLL path in the registry. devenum: Do not store full DLL path in the registry. kernel32: Skip the OpenProcess test under Win9x. user32: Make message tests pass cleanly under XP SP2. user32: Add one more GetSystemMenu test. server: Map ESPIPE to STATUS_ILLEGAL_FUNCTION for consistency with ntdll. kernel32: Skip the VirtualAllocEx test under Win9x. kernel32: Fix the file sharing...