• 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: NSTask not working for shell scripts?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

  • Follow-Ups:
    • Re: NSTask not working for shell scripts?
      • From: Robert Staflin <email@hidden>
    • Re: NSTask not working for shell scripts?
      • From: Yann Bizeul <email@hidden>
References: 
 >Re: NSTask not working for shell scripts? (From: Robert Staflin <email@hidden>)

  • Prev by Date: Re: NSTask not working for shell scripts?
  • Next by Date: Debugging Cocoa Apps
  • Previous by thread: Re: NSTask not working for shell scripts?
  • Next by thread: Re: NSTask not working for shell scripts?
  • Index(es):
    • Date
    • Thread