• 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: running exe in the background from within code
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: running exe in the background from within code


  • Subject: Re: running exe in the background from within code
  • From: Spencer Salazar <email@hidden>
  • Date: Tue, 15 Aug 2006 01:44:46 -0400

well, there is always 'man fork'...

spencer

On Aug 15, 2006, at 1:20 AM, Eric Smith wrote:

I'm using AuthorizationExecuteWithPrivileges(...) in order to run code (start a MySQL server) from within an application... do a little work for the user in the event that they try to start up my app when the database server isn't running. I can call the above function to get the server running, but how do I get it (the mysql startup script) to run in the background? If I just call the startup script, mysqld_safe, the thread blocks... never comes back... as would happen if I called it from the command line. On the command line, I can just append "&", but this doesn't apply above. Any help would be greatly appreciated!

Thanks,
Eric
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
40gmail.com


This email sent to email@hidden

_______________________________________________ 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: 
 >running exe in the background from within code (From: Eric Smith <email@hidden>)

  • Prev by Date: running exe in the background from within code
  • Next by Date: [Moderator] EOT Re: Garbage collection in 10.5
  • Previous by thread: running exe in the background from within code
  • Next by thread: Debugging "Show Help"
  • Index(es):
    • Date
    • Thread