• 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
Passing arguments to application lauch through KUNCExecute() call
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: Passing arguments to application lauch through KUNCExecute() call
      • From: Garth Cummings <email@hidden>
  • Prev by Date: Re: Kext function SMP locking
  • Next by Date: Re: Passing arguments to application lauch through KUNCExecute() call
  • Previous by thread: Re: Xen port of XNU kernel
  • Next by thread: Re: Passing arguments to application lauch through KUNCExecute() call
  • Index(es):
    • Date
    • Thread