Passing arguments to application lauch through KUNCExecute() call
Passing arguments to application lauch through KUNCExecute() call
- Subject: Passing arguments to application lauch through KUNCExecute() call
- From: "Yogesh Pahilwan" <email@hidden>
- Date: Mon, 26 Feb 2007 18:11:20 +0530
Hi all,
I am using KUNCExecute () API to send notification to user space
application.
I am passing absolute path of the application as a first parameter to
KUNCExecute () API.
My KUNCExecute call is like:
kern_return_t ret;
ret = KUNCExecute ("/etc/a.out", kOpenAppAsRoot, kOpenApplicationPath);
This call will execute my application successfully. But when I pass
arguments to my application like:
ret = KUNCExecute ("/etc/a.out \"ABCD\"", kOpenAppAsRoot,
kOpenApplicationPath);
Then the application will not get executed.
Can I pass arguments to the application that I want to launch through
KUNCExecute () API??
Please suggest some pointers.
Thanks & Regards,
Yogesh Pahilwan
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-kernel mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden