RAA - win32-process/0.3.1

win32-process / 0.3.1

Short description: fork and wait for Win32
Category: Library/Win32
Status: beta
Created: 2004-02-20 04:40:49 GMT
Last update: 2004-12-10 05:13:01 GMT
Owner: Daniel J. Berger (Projects of this owner)
Homepage: http://rubyforge.org/projects/win32utils/
Download: http://rubyforge.org/frs/download.php/2154/win32-process-0.3.1.zip
License: Ruby's
Dependency:
None
Description:

The package provides fork, wait, wait2, waitpid and waitpid2 for Win32 systems. It also provides an alternative kill method.

Changes for 0.3.1
=================
- Modified Process.fork to return an actual PID instead of a handle. This means that it should work with Process.kill and other methods that expect an actual PID.
- Modified Process.kill to understand the strings "SIGINT", "INT", "SIGBRK", "BRK", "SIGKILL" and "KILL". These correspond to signals 2, 3 and 9, respectively.
- Replaced all instances of rb_sys_fail(0) with rb_raise(). This is because of a strange bug in the Windows Installer that hasn't been nailed down yet. This means that you can't rescue Errno::ENOENT any more, but will have to rescue StandardError. This only affects Process.kill.
- The signals that were formerly 1 and 2 and now 2 and 3. I did this because I wanted the same signal number for SIGINT as it is on *nix.
- Added a test_kill.rb script under the examples directory.
- Other minor cleanup and corrections.

Versions: [0.5.8 (2008-04-24)] [0.5.7 (2008-03-27)] [0.5.6 (2008-03-13)] [0.5.4 (2007-12-12)] [0.5.3 (2007-07-29)] [0.5.2 (2007-01-23)] [0.5.1 (2006-08-25)] [0.5.0 (2006-07-30)] [0.4.2 (2006-05-29)] [0.4.1 (2006-05-13)] [0.4.0 (2006-05-07)] [0.3.3 (2006-04-16)] [0.3.2 (2005-08-13)] [0.3.1 (2004-12-10)] [0.3.0 (2004-07-25)] [0.2.1 (2004-05-12)] [0.2.0 (2004-05-12)] [0.1.1 (-)]

Edit this project (for project owner)

back to RAA top