• 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 Path
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSTask Path


  • Subject: Re: NSTask Path
  • From: Buddy Kurz <email@hidden>
  • Date: Tue, 14 Jan 2003 10:17:36 -0800

see [NSBundle pathForResource:ofType:inDirectory:]

On Tuesday, January 14, 2003, at 09:29 AM, Rhon Fitzwater wrote:

Hi all (again),

[task setArguments:[NSArray arrayWithObject:[NSString
stringWithString:@"Contents/Resources/main.pl"]]];

Above is what isnt working with my program. Does anyone know what path
I need to get my perl script to run. I have it so that when the
program is build the script is copied to the Resources folder inside
the package. But with the path I have above I get this error in the
console:
Can't open perl script "Contents/Resources/main.pl": No such file or
directory

What path do I need to add to the code above?

Thanks.

-Rhon

P.S I also tried ./Contents/Resources/main.pl and it did not work.
_______________________________________________
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.
_______________________________________________
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 Path
      • From: Douglas Davidson <email@hidden>
References: 
 >NSTask Path (From: Rhon Fitzwater <email@hidden>)

  • Prev by Date: Re: Using WebCore.framework
  • Next by Date: Re: Aqua Human Interface and Safari
  • Previous by thread: Re: NSTask Path
  • Next by thread: Re: NSTask Path
  • Index(es):
    • Date
    • Thread