Re: Executing A Shell Script...
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.