• 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: Routines for review: Hex <-> String
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Routines for review: Hex <-> String


  • Subject: Re: Routines for review: Hex <-> String
  • From: Axel Luttgens <email@hidden>
  • Date: Mon, 20 Jan 2003 10:22:50 +0100

has wrote:

[snip]



4. Is 32K limit a shell thing, or a limitation of the 'do shell script' command? (Anyone know?) If the latter, should really be filed as an AS bug. Either way, not too hard to work around.


It could also be a limitation of the shell parser; after all, it very likely has to put the command (which in fact is an argument) to be parsed/executed into some kind of memory buffer.

In my case (OS 10.2.3), the maximum length for a command passed to 'do shell script' seems to be of 65350 characters; for longer commands, AppleScript's error message (error of type 255) could refer to the shell's return code.
On the other hand, returned values from 'do shell script' don't seem to have an upper limit for their sizes, which is consistent with the idea of standard output.

Just an hypothesis...
Axel
_______________________________________________
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: Routines for review: Hex <-> String (From: has <email@hidden>)

  • Prev by Date: Re: Routines for review: Hex <-> String
  • Next by Date: Re: Detecting when application launch has completed (OS X)
  • Previous by thread: Re: Routines for review: Hex <-> String
  • Next by thread: Re: Routines for review: Hex <-> String
  • Index(es):
    • Date
    • Thread