i put while True: before top of line, i=child.expect() . it worked, the file has gone but also it goes into loop with many EOF result, i tried the os.waitpid() function with child.pid but didnt help me. still couldn`t get the problem. thanks for help
On Thursday 15 June 2006 12:04, Ganesan Rajagopal wrote: > Ah, got it. You didn't wait for the rsync process to complete. Put the body > of the "try:" in a while loop. > > Ganesan > > -- > Ganesan Rajagopal -- http://mail.python.org/mailman/listinfo/python-list