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 protected])

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to