Do Shell script with unix sub command and CocoaDialog
Do Shell script with unix sub command and CocoaDialog
- Subject: Do Shell script with unix sub command and CocoaDialog
- From: Tim Piper <email@hidden>
- Date: Thu, 6 Mar 2008 19:58:02 +0000
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,
VERBOSE OUTPUT > REDIRECT space >(SUB PROCESS COMMAND)
The great CocoaDialog shows the progression of files being copied on the screen. very nice.
but when I try and do this via a 'do shell script' I get the following error:
sh: -c: line 1: syntax error near unexpected token `>'
is it not possible to run sub processes via 'do shell script' ?
Thanks.
|
_______________________________________________
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