• 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: Executing A Shell Script...
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Executing A Shell Script...


  • Subject: Re: Executing A Shell Script...
  • From: Ondra Cada <email@hidden>
  • Date: Fri, 30 Aug 2002 19:04:20 +0200

On Friday, August 30, 2002, at 04:32 , Andrew Pinski wrote:

I do:
mkdir("dir/To/Make);

Look at mkdir(2)

one step and no need to launch a separate process and is safer because
you can see what the problem is by the return value.

Also to change the working directory I would use:
chdir("path/To/Change/To");

Look at chdir(2) from more information.

Better, look at NSFileManager.html. Whilst BSD API is good, Cocoa API's better -- for example, it would work with foreign characters properly.
---
Ondra Cada
OCSoftware: email@hidden http://www.ocs.cz
private email@hidden http://www.ocs.cz/oc
_______________________________________________
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.
References: 
 >Re: Executing A Shell Script... (From: Andrew Pinski <email@hidden>)

  • Prev by Date: Re: Executing A Shell Script...
  • Next by Date: Re: Executing A Shell Script...
  • Previous by thread: Re: Executing A Shell Script...
  • Next by thread: Re: Executing A Shell Script...
  • Index(es):
    • Date
    • Thread