in reply to A continually running process

Erm, sleep shouldn't delay anything that occurs before it. More sounds like you're suffering from buffering.

The cake is a lie.
The cake is a lie.
The cake is a lie.

Replies are listed 'Best First'.
Re^2: A continually running process
by monarch (Priest) on Jun 25, 2008 at 21:09 UTC
    Specifically, have you turned on autoflush?
    $|=1; while ( 1 ) { print "hello"; sleep( 120 ); }

    Lastly may I say how impressed I am that you are somehow getting rsync running from a Win32 platform!

      It was quite a challenge! If you're looking to do it yourself, try Deltacopy, this is what I used. It does a minimal cygwin install on the windows platform--just enough to allow you to run rsync, ssh, and chmod as if you were on a regular linux OS.