• 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
Do shell script. Type 1 error.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Do shell script. Type 1 error.


  • Subject: Do shell script. Type 1 error.
  • From: Cornwall <email@hidden>
  • Date: Mon, 9 Sep 2002 13:38:09 -0700

The following line runs fine from Terminal. It will also run (occasionally) from Script Editor without error, but it usually returns "An error of type 1 has occurred," even though it appears to do its thing correctly.

do shell script "cd /Users/cornball/Tidy;./tidy --indent 0 --wrap 100 -f errs.txt -m index.html"

When it works correctly, it returns an empty string as the result. When it errors, nothing is returned in result window. Any ideas for getting "do shell script" working on this one?

Thanks
Corny
_______________________________________________
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.

  • Follow-Ups:
    • Re: Do shell script. Type 1 error.
      • From: Christopher Nebel <email@hidden>
  • Prev by Date: Re: Test UTF7
  • Next by Date: Re: Test UTF7
  • Previous by thread: Re: Program Linking Syntax
  • Next by thread: Re: Do shell script. Type 1 error.
  • Index(es):
    • Date
    • Thread