• 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: connnected?!
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: connnected?!


  • Subject: Re: connnected?!
  • From: Christopher Nebel <email@hidden>
  • Date: Tue, 7 Oct 2003 15:14:07 -0700

On Oct 7, 2003, at 1:06 PM, Steve Mills wrote:

From my tests, do shell script won't return an error, even if ping times out. ping will return after 10 seconds regardless.

Realize that this has nothing to do with "do shell script". ping(1) always returns a status of 0, meaning it didn't fail [1]. "do shell script" faithfully reports this. One might consider this bogus, but it's ping's problem, not "do shell script"'s.


--Chris Nebel
AppleScript Engineering

[1] Well, as far as I can tell. And the man page doesn't admit to anything else.
_______________________________________________
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: 
 >Re: connnected?! (From: Steve Mills <email@hidden>)

  • Prev by Date: Re: Option key (was Re: Sorting)
  • Next by Date: Re: Option key (was Re: Sorting)
  • Previous by thread: Re: connnected?!
  • Next by thread: newbie question in Safari
  • Index(es):
    • Date
    • Thread