• 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
Max arguments for NSTask?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Max arguments for NSTask?


  • Subject: Max arguments for NSTask?
  • From: Charles Srstka <email@hidden>
  • Date: Sun, 27 Oct 2002 12:37:48 -0600

I'm finding that if I try to launch a process using NSTask with too many arguments, I get this:

*** NSTask: Task create for path /bin/pax failed: 7, "Argument list too long".

and my app promptly hangs with the dreaded pinwheel of death. So, my question is, what is the maximum number of arguments that NSTask can take? Is this documented anywhere? Is there a way around it?

Thanks,
Charles
_______________________________________________
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.

  • Follow-Ups:
    • Re: Max arguments for NSTask?
      • From: Finlay Dobbie <email@hidden>
    • Re: Max arguments for NSTask?
      • From: Scott Anguish <email@hidden>
    • Re: Max arguments for NSTask?
      • From: Nicholas Riley <email@hidden>
  • Prev by Date: Re: Looking for bytes in NSData
  • Next by Date: Re: How to get a pointer to the current class handler callback?
  • Previous by thread: Project Builder Question
  • Next by thread: Re: Max arguments for NSTask?
  • Index(es):
    • Date
    • Thread