Re: NSTask not working for shell scripts?
Re: NSTask not working for shell scripts?
- Subject: Re: NSTask not working for shell scripts?
- From: Chris Ridd <email@hidden>
- Date: Tue, 03 Dec 2002 13:50:10 +0000
On 3/12/02 1:05 pm, Robert Staflin <email@hidden> wrote:
>
? I don't think I understand the first line in your answer - the shell
>
script should be run by the NSTask, and not the other way around...
>
Thanks for the advice about the console - beginner mistake. It gave me
>
info on the crash log which says:
[...]
>
This tells me that Thread 0 crashed when trying the NSConcreteTask
>
call, right? That's about the same I knew before - when my
>
TaskWrapper.m has done:
>
>
// launch the task asynchronously
>
[task launch];
>
>
...it crashes.
>
>
Anybody?
>
>
Thanks for any input!
>
/Robert
Backing up a bit, how exactly (code!) are you constructing the task object
and all the arguments?
Cheers,
Chris
_______________________________________________
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.