Mailing Lists: Apple Mailing Lists
Image of Mac OS face in stamp
Re: Launching an Application from an Application
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Launching an Application from an Application



David,

You'll need to find and call the BSD system() call if you want to pursue
this approach.

Take a look at the MiniShell sample which calls popen() from a CFM MSL based
application.

http://developer.apple.com/samplecode/MiniShell/MiniShell.html

> Hello all,
>
> I am a Palm OS conduit programmer for both Palm OS and Mac OS X.
> Lately, I added functionality that Carbon does not support. The plan
> was to create a UNIX application, then launch this application from
> within the conduit using the standard system() C function. My conduit
> development is limited to Metrowerks and PowerPlant and Carbon on Mac
> OS.
>
> Today, I have come to realize system() is an empty function in
> Mertrowerks MSL C. At this time, the plan is falling apart and I want
> to revive it. Apple Events, which I have never coded for, looks very
> difficult for such a simple task. I am asking the developer community
> on this mailing list to offer suggestions, workaround, whatever, that
> would allow the conduit to launch the helper application and pass it a
> text string as a parameter.
>
> David Lalonde
>
>  _______________________________________________
> Do not post admin requests to the list. They will be ignored.
> Carbon-dev mailing list      (email@hidden)
> Help/Unsubscribe/Update your Subscription:
>
> This email sent to email@hidden


 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Carbon-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

References: 
 >Launching an Application from an Application (From: David Lalonde <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2011 Apple Inc. All rights reserved.