Re: Do Shell script with unix sub command and CocoaDialog
Re: Do Shell script with unix sub command and CocoaDialog
- Subject: Re: Do Shell script with unix sub command and CocoaDialog
- From: Christopher Nebel <email@hidden>
- Date: Thu, 6 Mar 2008 13:42:05 -0800
On Mar 6, 2008, at 11:58 AM, Tim Piper wrote:
at the command line this works:
cp -rv /foo/ /Users/Shared/foo/ > >( /Applications/CocoaDialog.app/
Contents/MacOS/CocoaDialog progressbar --title "TITLE")
Note that the verbose output is then being re-directed to a shell
sub process...
The other thing is that I don't think there's any practical difference
between "cmd1 > >(cmd2)" and "cmd1 | cmd2", and the latter definitely
works. Process substitution is mostly useful when some command
requires a file as input, and you therefore can't just pipe to stdin.
--Chris Nebel
AppleScript Engineering
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden