Re: call C application
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