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

Re: Stack size


  • Subject: Re: Stack size
  • From: Vince DeMarco <email@hidden>
  • Date: Thu, 27 Dec 2001 10:11:47 -0700

On Thursday, December 27, 2001, at 05:49 am, Hampus Edvardsson wrote:

I tried doing this and it works great when I start it from the terminal, but I can't get it to run from the finder.
I changed the name of the binary and gave the script the old name, but it quits directly when lauched. It is possible to launch a script from the finder this way, right?

(It's could very likely be a problem with the path or working directory.. However it does work when i run it from the root directory in the terminal, which is what the finder does, right?)


If you want to do this in code look at

setrlimit()

Just to a man on setrlimit

vince

// Hampus Edvardsson

On torsdag, december 27, 2001, at 11:28 , Sven A. Schmidt wrote:

On Donnerstag, Dezember 27, 2001, at 01:39 Uhr, Hampus Edvardsson wrote:

How about a little shell wrapper that you call in both cases?

#!/bin/tcsh
limit stacksize 8192
your_app

Sven
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.


References: 
 >Re: Stack size (From: Hampus Edvardsson <email@hidden>)

  • Prev by Date: Re: Getting the original moviebox in Cocoa
  • Next by Date: Can I use AGL functions with NSOpenGLContext ?
  • Previous by thread: Re: Stack size
  • Next by thread: Stack size
  • Index(es):
    • Date
    • Thread