• 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 Says: launch path not accessible
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSTask Says: launch path not accessible


  • Subject: Re: NSTask Says: launch path not accessible
  • From: Ondra Cada <email@hidden>
  • Date: Sun, 24 Apr 2005 21:25:27 +0200

Adam,

On 24.4.2005, at 21:18, Adam wrote:

[ModcapEditorCmdlineTask setLaunchPath:@"ModcapEditorCmdline"];
[ModcapEditorCmdlineTask setCurrentDirectoryPath: pathToModcapEditorCmdline];

CWD and the launch path have nothing in common. Just use

[ModcapEditorCmdlineTask setLaunchPath:[pathToModcapEditorCmdline stringByAppendingPathComponent:@"ModcapEditorCmdline"]];

Incidentally, it is a bad style to use capitalized variables. The ModcapEditorCmdlineTask should be named modcapEditorCmdlineTask.
---
Ondra Čada
OCSoftware: email@hidden http://www.ocs.cz
private email@hidden http://www.ocs.cz/oc


_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: NSTask Says: launch path not accessible
      • From: Ed Baskerville <email@hidden>
    • Re: NSTask Says: launch path not accessible
      • From: Finlay Dobbie <email@hidden>
References: 
 >NSTask Says: launch path not accessible (From: Adam <email@hidden>)

  • Prev by Date: NSTask Says: launch path not accessible
  • Next by Date: RE: iTunes Radio Tuner
  • Previous by thread: NSTask Says: launch path not accessible
  • Next by thread: Re: NSTask Says: launch path not accessible
  • Index(es):
    • Date
    • Thread