integrating rsync with Rev

Phil Davis revdev at pdslabs.net
Sun May 18 23:17:29 EDT 2008


Sarah Reichelt wrote:

-- snip --
> For me, the main problem is that the process is blocking. I would love
> a faster alternative to Rev's FTP commands, but I can't have it
> blocking everything else. Is there a way to open a process in a
> non-blocking manner, perhaps by redirecting it's output to a file and
> checking it every now & then to estimate progress?
>
> Cheers,
> Sarah
Hi Sarah,

What happens if you do something like this instead:

         put shell("/rsynch.sh &") into tResult

In other words, can you start your script from shell() as a background 
process? I've done that with a couple of different long-running apps.

-- 
Phil Davis

PDS Labs
Professional Software Development
http://pdslabs.net




More information about the use-livecode mailing list