• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Do Shell script with unix sub command and CocoaDialog
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: Do Shell script with unix sub command and CocoaDialog
      • From: Christopher Nebel <email@hidden>
    • Re: Do Shell script with unix sub command and CocoaDialog
      • From: Christopher Nebel <email@hidden>
    • Re: Do Shell script with unix sub command and CocoaDialog
      • From: Skeeve <email@hidden>
  • Prev by Date: Re: Choose file (SA) buggy ?
  • Next by Date: Re: Choose file (SA) buggy ?
  • Previous by thread: Re: Entourage Backup scripting
  • Next by thread: Re: Do Shell script with unix sub command and CocoaDialog
  • Index(es):
    • Date
    • Thread