• 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: Wget response
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Wget response


  • Subject: Re: Wget response
  • From: Axel Luttgens <email@hidden>
  • Date: Fri, 28 Sep 2007 16:41:43 +0200

On 28/09/07 16:19, I wrote:

On 28/09/07 14:44, Jay Louvion wrote:

[...]



Hello Jay,

[...]
If this is true, you would then want not only to make use of the try... on error... end try" construct, but also to perform some parsing of the string returned by "do shell script" (which is just wathever wget writes on stdout).
[...]


Sorry, but some Bad characters (TM) -see the other thread- have disturbed my reading of your email.
So, if I understand you correctly, "do shell script" returns an empty string when wget terminates without error, even if you see some output when you execute the command in Terminal?
In that case, that would mean that wget send its output to stderr.
You could then just change your command


   do shell script "wget options_and_arguments"

into

   do shell script "wget options_and_arguments 2>&1"

and everything in my reply should apply.


My apologies, Axel _______________________________________________ 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: Wget response
      • From: Jay Louvion <email@hidden>
References: 
 >Wget response (From: Jay Louvion <email@hidden>)
 >Re: Wget response (From: Axel Luttgens <email@hidden>)

  • Prev by Date: Re: Wget response
  • Next by Date: Re: Bad Character
  • Previous by thread: Re: Wget response
  • Next by thread: Re: Wget response
  • Index(es):
    • Date
    • Thread