Sha256: 3b27c47bcbbc84f5a320ecce11c8e4314a4f0715bacc929dc074fcf3d39238be

Contents?: true

Size: 483 Bytes

Versions: 3

Compression:

Stored size: 483 Bytes

Contents

= wait_pid

This provides a ruby library

WaitPid.wait_pid pid_number # waits until that process exits

and also a binary command

$ wait_pid pid_number # waits until that process exits

Currently it just polls 100 times/s to see if the process is still around.  If more granularity is needed let me know [it is possible, at least in windows, or a higher polling capability could be made optional in linux].

Enjoy. Feedback welcome.

http://github.com/rdp/wait_pid

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
wait_pid-0.2.0 README.rdoc
wait_pid-0.1.0 README.rdoc
wait_pid-0.0.2 README.rdoc