Re: Putting files in an flat-file executable
Re: Putting files in an flat-file executable
- Subject: Re: Putting files in an flat-file executable
- From: Uli Kusterer <email@hidden>
- Date: Sat, 13 Jun 2009 15:23:27 -0700
Am 13.06.2009 um 14:35 schrieb KK:
Well, I'm making a command-line tool that uses another tool, and it
would be
convenient if that other tool could be packaged right inside the
first tool.
That sounds like what you really want is to take the code for that
other executable and link it into your tool and compile that as one
binary. If you need two distinct copies, you could have a switch as a
command-line parameter to launch as one or the other app, then fork/
exec yourself.
Much more common code and much less hacky and thus more well-
supported than trying to next executables.
Cheers,
-- Uli Kusterer
"The Witnesses of TeachText are everywhere..."
http://www.zathras.de
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden