From: Marcin Tyman Date: 2007-07-25T00:07:15+09:00 Subject: Re: Unexpectadly end of program Yes, it seems as unix problem. Code is too complicated and too big to show it. There is 2 functions which telnet to device and do mv command on a file from a process (on the machine) reads. Functions are executed one by one after some sleep, so I can't understand why it causes such problems. The process on remote machine if trying to list the file and meets situation that the file is overwritten by by script at the same time should wait, shouldn't it? -- Posted via http://www.ruby-forum.com/.