FROM : Charles Srstka
DATE : Sun Oct 27 20:23:13 2002
On Sunday, October 27, 2002, at 12:59 PM, Scott Anguish wrote:
>
> On Sunday, October 27, 2002, at 01:37 PM, Charles Srstka wrote:
>
>> 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?
>
> The best way around it in this case would be to write the files that
> you want pax to pack up to a file,a nd then use the flag for pax that
> reads that list from the files.
Sounds great. I was hoping pax would have something like this, but I
couldn't find any mention in the man pages (and still can't).
Anyone know what flag would do this?
If it doesn't exist, xargs does look promising.
Thanks,
Charles
_______________________________________________
cocoa-dev mailing list | <email_removed>
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.
DATE : Sun Oct 27 20:23:13 2002
On Sunday, October 27, 2002, at 12:59 PM, Scott Anguish wrote:
>
> On Sunday, October 27, 2002, at 01:37 PM, Charles Srstka wrote:
>
>> 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?
>
> The best way around it in this case would be to write the files that
> you want pax to pack up to a file,a nd then use the flag for pax that
> reads that list from the files.
Sounds great. I was hoping pax would have something like this, but I
couldn't find any mention in the man pages (and still can't).
Anyone know what flag would do this?
If it doesn't exist, xargs does look promising.
Thanks,
Charles
_______________________________________________
cocoa-dev mailing list | <email_removed>
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.
| Related mails | Author | Date |
|---|---|---|
| Charles Srstka | Oct 27, 19:37 | |
| Nicholas Riley | Oct 27, 19:53 | |
| Scott Anguish | Oct 27, 19:59 | |
| Finlay Dobbie | Oct 27, 19:59 | |
| Finlay Dobbie | Oct 27, 20:10 | |
| Charles Srstka | Oct 27, 20:23 | |
| Scott Anguish | Oct 27, 22:01 | |
| Charles Srstka | Oct 27, 22:33 | |
| Scott Anguish | Oct 27, 22:35 | |
| Chris Hanson | Oct 27, 23:14 | |
| Nicholas Riley | Oct 27, 23:59 | |
| Mark Levin | Oct 28, 00:23 | |
| Charles Srstka | Oct 28, 03:28 | |
| Chris Hanson | Oct 28, 08:14 | |
| Hasan Diwan | Oct 28, 17:31 |






Cocoa mail archive

