Re: Passing of agrument in LSOpenApplication() in Tiger
Re: Passing of agrument in LSOpenApplication() in Tiger
- Subject: Re: Passing of agrument in LSOpenApplication() in Tiger
- From: Rakesh Singhal <email@hidden>
- Date: Mon, 2 Mar 2009 22:19:55 +0530
Marc, I think I will need to make changes in application to catch the apple event which I am passing through LSOpenApplication(), right?
Regards
On Mon, Mar 2, 2009 at 12:33 AM, Rakesh Singhal
<email@hidden> wrote:
On Mon, Mar 2, 2009 at 12:18 AM, Marc Epard
<email@hidden> wrote:
On Mar 1, 2009, at 12:10 PM, Rakesh Singhal wrote:
Thanks. Is there any other way to do it except fork()/exec() and system()?
Are you sure you want to pass arguments at launch time? What happens when the application you are launching is already running? AppleEvents might be a solution.
Yes, I have to pass argument at launch time. If it is already running that I am taking care. Thanks Marc.
Or you might take another look at
Technical Note TN2083 and turn your approach around: Have agent apps in each GUI session that contact your daemon, not a daemon that launches a GUI app.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden