On Tue, 21 Mar 2006 01:20:36 +0900, Claudio Jeker <cjeker / diehard.n-r-g.com> wrote: [snip] > Now I can IO.popen the process but there is no pclose instance method to > get the exitcode back. Additionally my workaround via Process.waitpid2 does > not work either. I think io.close does already all the cleanup. The $? variable will hold the exit status of the last child to terminate. andrew -- Andrew L. Johnson http://www.siaris.net/ What have you done to the cat? It looks half-dead. -- Schroedinger's wife