This is the mail archive of the
cygwin
mailing list for the Cygwin project.
execve issues, and execve with cygrunsrv
- From: Daniel Pocock <daniel at pocock dot com dot au>
- To: cygwin at cygwin dot com
- Date: Mon, 30 Mar 2009 12:45:17 +0100
- Subject: execve issues, and execve with cygrunsrv
Hi,
I'm using the execve call in a UNIX program (which works successfully),
and now I am testing it with Cygwin.
The program is using execve as a way to restart itself after receiving
SIGHUP.
The child process started by execve seems to be unable to work properly,
I observe various errors:
- DNS lookups fail
- binding to UDP sockets fails
Furthermore, I would like the process to become a service started by
cygrunsrv. Is it safe to use execve in a process started by cygrunsrv?
Are there any issues to be aware of, or suggestions on how to proceed?
Regards,
Daniel
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/