[cc: email] Roeland Moors wrote: > >> > >>Here is a simple ruby test program: > >> > >><-- CODE --> > >>#!/usr/bin/env ruby -w > >> > >>gnucap = IO.popen("gnucap", "w+") > >>output = "" > >>while output !~ /.*#{"gnucap>"}$/ > >> char = gnucap.getc.chr > >> output += char > >>end > >>puts "ok" > >><-- CODE --> > >> > [...] I found a solution > I just send an extra empty command after each command. > Thanks for the feedback, Roeland. Could you show a small example like your original one with the change you made, please ? It may be useful to others with a similar problem and I might try it if I can get gnucap to compile with Borland 5.5. Cheers, daz