[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

comp.lang.ruby

Timeout and windows

Matthew Williams

3/27/2007 9:42:00 AM

Hello,

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?

--
Posted via http://www.ruby-....

1 Answer

Ara.T.Howard

3/27/2007 2:32:00 PM

0