From: MikkelFJ Date: 2001-12-19T23:50:49+09:00 Subject: [ruby-talk:28922] Re: stderr from external process? > I still have one issue though: The program doesn't terminate. Admittely I > don't know much about these process issues, but I would expect the write > processes to terminate when the main program closes the pipes. > > Any suggestions? Well - cmd needs the exit command for the process to terminate. and ls, gcc can be called, but you have to use forward slashes as in sin, sout, serr = Open3.popen3("d:/cygwin/bin/gcc.exe --help") Mikkel