Forum: Ruby on Rails Timeout on windows

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
4d9d73356e22a5f76bd3f4020c416432?d=identicon&s=25 Jamie (Guest)
on 2007-03-27 11:39

I am using windows, which is probably the source of the problem.

I have a pipe that executes an external Ruby program, and i want to have
a timeout on the pipe. The problem is that when the time is up the pipe
process is not terminated. The pipe finishes its task and then returns
in its own time; howver the timeout is acknowledged on its return - its
just that the process is not interupted as it should be after t seconds.

I think this is probably a result of windows and threading, but is there
a way around it while i continue to use windows?
This topic is locked and can not be replied to.