NSTask and including external Binaries within a project, and calling those binaries.
NSTask and including external Binaries within a project, and calling those binaries.
- Subject: NSTask and including external Binaries within a project, and calling those binaries.
- From: James Andrews <email@hidden>
- Date: Mon, 10 Jan 2005 21:05:32 -0500
In the project I am writing I need to be able to read a Camera RAW
image file and extract the JPEG file from it. A fellow named Dave
Coffin has written a program and given it freely to the world, by
giving out the source at his website. The source being parse.c
http://www.cybercom.net/~dcoffin/dcraw/
I am not advanced enough at either C or Objective-C to figure out how
to convert this from C to Obj-C, but I have managed to modify it
enough to keep it from sending anthing to STDOUT, so I would like to
use it in my project.
I know how to use NSTask with command line apps/scripts etc, that
already exist on a machine, but I know that my modified app won't be
on anyone's machine, and would like to know how to include it so that
when I build it, it's actually part of the application, and also how
to call it, as I do not know how I would call an binary within an App
directory.
Thanks,
James
_______________________________________________
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