Re: Wget response
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