Mailing Lists: Apple Mailing Lists
Image of Mac OS face in stamp
Background Processes Help Please
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Background Processes Help Please



Hello there....first post. 

I was working ok along with 

do shell script "/usr/local/bin/rsync -ztlr --port=2030 --delete  --progress --delete-excluded --exclude '*.CRW' --exclude '.' --exclude '..' --exclude '.DS_Store' " & whichFolder & " server:: rsyncmodule  2> /tmp/rsync.txt > /tmp/rsync.txt &"

as running as a background process. the output howver had /r as carriage returns so "tail" to read it had issues. 

I changed the call to the following and now it doesn't run in the background anymore and freezes up the interface. 

From reading here I though that this should work.

do shell script "/usr/local/bin/rsync -ztlr --port=2030 --delete  --progress --delete-excluded --exclude '*.CRW' --exclude '.' --exclude '..' --exclude '.DS_Store' " & whichFolder & " server::rsyncmodule  | tr '\\r' '\\n' &> /tmp/rsync.txt &"

any suggesting appreciated.

Thanks

-----

Robert Herbstzuber

WebSite: http://rjhcc.dyndns.biz

Email: email@hidden


PHP/MySql-Web Design-Desktop Consulting-Custom PC Building

------



 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-studio mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2011 Apple Inc. All rights reserved.