From: ts Date: 2002-11-05T23:31:41+09:00 Subject: Re: IO.pos: does it work !? [newbie question...] >>>>> "S" == Sebby writes: >> f = IO.popen("sqlplus -s system/manager@DAS1", "r+") [...] S> always returns me the value '-1' when 'f.pos' is called ? Well, IO#pos is the same than IO#tell and it's an error to call ftell() on a pipe, this is why it return -1 Guy Decoux