• 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: call C application
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: call C application


  • Subject: Re: call C application
  • From: j o a r <email@hidden>
  • Date: Thu, 27 Apr 2006 22:15:31 +0200


On 27 apr 2006, at 22.18, Mai Bui wrote:

Can a cocoa application call another application written in C?

For instance, I have a cocoa application with the "RUN" and "STOP" button.
I would like to implement:
- when the user press "RUN" button, it will run another my application (written in C).
- and press "STOP" button, it send 'q' character to the running application to stop that application and then quit its self (the cocoa application).


Is it possible to do that?


You're looking for the functionality provided by the NSTask class.

j o a r


Attachment: smime.p7s
Description: S/MIME cryptographic signature

 _______________________________________________
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

References: 
 >call C application (From: Mai Bui <email@hidden>)

  • Prev by Date: call C application
  • Next by Date: Drag drop - namesOfPromisedFilesDroppedAtDestination has an indexSet = nil
  • Previous by thread: call C application
  • Next by thread: Re: call C application
  • Index(es):
    • Date
    • Thread