From: Jordi Planes Date: 2007-07-03T20:26:22+09:00 Subject: Re: How to timeout a system call Jordi Planes wrote: > > Hi, > > I would like to stop a system call after a timeout, but doing so with > the Timeout library does not kill the process, and the process keeps > running. I think the problem is the system call does a Process.fork and > no way to kill it, no matter if the Thread is stoped. > > Is there any way to kill the process? May be getting its pid? > > Thanks, > > Jordi I finally come up with my own timeout, using Process instead of Thread. In case somebody is interested, here it is: module Timeout class Error