Re: running exe in the background from within code
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