running exe in the background from within code
running exe in the background from within code
- Subject: running exe in the background from within code
- From: Eric Smith <email@hidden>
- Date: Mon, 14 Aug 2006 22:20:52 -0700
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:
This email sent to email@hidden