Re: Problem with arguments of an NSTask
Re: Problem with arguments of an NSTask
- Subject: Re: Problem with arguments of an NSTask
- From: Arthur VIGAN <email@hidden>
- Date: Tue, 29 Oct 2002 13:49:06 +0100
But when I use:
NSArray *arguments = [NSArray arrayWithObjects:@"-nice", @"19"];
I get a EX_BAD_ACCESS error before the task is launched.
Arthur
the following code doesn't work and I don't see where the mistake is:
NSArray *arguments = [NSArray arrayWithObject:@"-nice 19"];
IIRC, arguments are split by whitespace, so "-nice 19" would actually
be *two* arguments, not just one.
sherm--
If you listen to a UNIX shell, can you hear the C?
_______________________________________________
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.