This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: execve issues, and execve with cygrunsrv


On Mar 30 12:45, Daniel Pocock wrote:
>
>
> 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

Is that with Cygwin 1.5.25 or with Cygwin 1.7?  If it's 1.5.25, could
you try if this still occurs under Cygwin 1.7?

Does this only happen when started from a native Windows process (cmd.exe
or so) or does this also happen when started from Cygwin's bash?

> 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?

Did you try?


Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Project Co-Leader          cygwin AT cygwin DOT com
Red Hat

--
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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]