• 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: Log progress to AS from "do shell script"
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Log progress to AS from "do shell script"


  • Subject: Re: Log progress to AS from "do shell script"
  • From: Loukas Kalenderidis <email@hidden>
  • Date: Fri, 18 Apr 2003 11:13:38 +1000

Hi.

Do you know any way to retrieve information about the progress of a "do
shell script"?. Eg, I'm "cp"ying or "unzip"ping a very large file and this
process will take some minutes.

If the shell script has progress output you could send it to the background, redirect its output to a file, then poll this file for new data from AS.

eg. do shell script "blah >/tmp/blah.out 2>&1 &"
the event will return and the process will be executing in the background and logging to /tmp/blah.out

Loukas

----

Loukas Kalenderidis
Angier Consulting Pty Ltd
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.

References: 
 >Log progress to AS from "do shell script" (From: julifos <email@hidden>)

  • Prev by Date: Re: Stay Popup script doesn't work on this Mac
  • Next by Date: BUG: Mail.app bugs
  • Previous by thread: Log progress to AS from "do shell script"
  • Next by thread: Re: Log progress to AS from "do shell script"
  • Index(es):
    • Date
    • Thread