• 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
Re: Do Shell script with unix sub command and CocoaDialog
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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
References: 
 >Do Shell script with unix sub command and CocoaDialog (From: Tim Piper <email@hidden>)

  • Prev by Date: Re: Do Shell script with unix sub command and CocoaDialog
  • Next by Date: Re: Do Shell script with unix sub command and CocoaDialog
  • Previous by thread: Re: Do Shell script with unix sub command and CocoaDialog
  • Next by thread: best options for HTML file to text conversion?
  • Index(es):
    • Date
    • Thread