• 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: Problem with arguments of an NSTask
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Problem with arguments of an NSTask


  • Subject: Re: Problem with arguments of an NSTask
  • From: Marco Binder <email@hidden>
  • Date: Tue, 29 Oct 2002 13:59:43 +0100

Read the docs: they clearly say, the arguments for NSArray arrayWithObjects: has to be nil terminated.

Marco


Am Dienstag, 29.10.02 um 13:49 Uhr schrieb Arthur VIGAN:

But when I use:

NSArray *arguments = [NSArray arrayWithObjects:@"-nice", @"19"];

I get a EX_BAD_ACCESS error before the task is launched.

Arthur

--
|\ /| E-Mail: email@hidden WWW: www.marco-binder.de
| \/ | Telefon: 07531 / 94 19 94 Fax: 07531 / 94 19 92
| |ARCO Snail-Mail: Banater Str. 3 - 78467 Konstanz
BINDER _____________________________________________________
_______________________________________________
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: Problem with arguments of an NSTask (From: Arthur VIGAN <email@hidden>)

  • Prev by Date: Re: Problem with arguments of an NSTask
  • Next by Date: Re: Problem with arguments of an NSTask
  • Previous by thread: Re: Problem with arguments of an NSTask
  • Next by thread: Re: Problem with arguments of an NSTask
  • Index(es):
    • Date
    • Thread