• 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: Putting files in an flat-file executable
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


References: 
 >Putting files in an flat-file executable (From: KK <email@hidden>)
 >Re: Putting files in an flat-file executable (From: Kyle Sluder <email@hidden>)
 >Re: Putting files in an flat-file executable (From: KK <email@hidden>)

  • Prev by Date: Re: Putting files in an flat-file executable
  • Next by Date: Re: NSView directly drawn on screen?
  • Previous by thread: Re: Putting files in an flat-file executable
  • Next by thread: Re: Putting files in an flat-file executable
  • Index(es):
    • Date
    • Thread