Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: do shell script and the results



You can use Cocoa's NSTask, where you control the pipes for standard output and input, or you might want to break your commands into smaller try blocks where you can log each part of the "do shell script process as it runs, then store each result in an AppleScript variable, property or list and do what you want with them when you insert them back into the "do shell script" command.

Allan Marcus wrote:
Hi,

Is there a way to display the result of a do shell script in real time, rather than after the script is complete?


--- Thanks,

Allan Marcus
505-667-5666


_______________________________________________ Do not post admin requests to the list. They will be ignored. AppleScript-Studio mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/applescript-studio/email@hidden

This email sent to email@hidden
References: 
 >do shell script and the results (From: Allan Marcus <email@hidden>)



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

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.