<html><head><style type="text/css"><!-- DIV {margin:0px;} --></style></head><body><div style="font-family:times new roman, new york, times, serif;font-size:12pt">Thanks Sterl, you're right, this was because I have don´t compiled with the -threaded flag, this works fine now.<br><br>&gt; 
This 
answer 
may 
be 
way 
off 
base, 
but 
if 
differences 
appear 
between&nbsp; <br>&gt; 
ghci 
and 
compiled 
versions, 
I've 
often 
found 
its 
as 
simple 
as&nbsp; <br>&gt; 
remembering 
to 
compile 
with 
the 
-threaded 
flag. 
The 
ghci 
runtime 
is&nbsp; <br>&gt; 
threaded 
by 
default, 
as 

understand 
it, 
while 
compiled 
binaries 
are&nbsp; <br>&gt; 
not, 
and 
IO 
operations 
will 
block 
in 
very 
different 
fashions 
(i.e. 
in<br>&gt; 
their 
own 
thread, 
or 
stalling 
the 
entire 
app) 
depending 
on 
the 
runtime.<br><br>&gt; 
Regards,<br>&gt; 
sterl.<br>Alvaro<br></div><br>
      <hr size=1><br><font face="Verdana" size="-2">Enviado desde Correo Yahoo!<br><a href="http://us.rd.yahoo.com/mailuk/taglines/isp/control/*http://us.rd.yahoo.com/evt=52432/*http://es.docs.yahoo.com/mail/overview/index.html">El buzón de correo sin límite de almacenamiento.</a>.<br></font>  </body></html>