www.delorie.com/archives/browse.cgi | search |
X-Recipient: | archive-cygwin AT delorie DOT com |
X-SWARE-Spam-Status: | No, hits=-0.6 required=5.0 tests=AWL,BAYES_00,SPF_PASS |
X-Spam-Check-By: | sourceware.org |
Message-ID: | <49D0B0CD.6050009@pocock.com.au> |
Date: | Mon, 30 Mar 2009 12:45:17 +0100 |
From: | Daniel Pocock <daniel AT pocock DOT com DOT au> |
User-Agent: | Mozilla-Thunderbird 2.0.0.19 (X11/20090103) |
MIME-Version: | 1.0 |
To: | cygwin AT cygwin DOT com |
Subject: | execve issues, and execve with cygrunsrv |
X-IsSubscribed: | yes |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Id: | <cygwin.cygwin.com> |
List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
List-Archive: | <http://sourceware.org/ml/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs> |
Sender: | cygwin-owner AT cygwin DOT com |
Mail-Followup-To: | cygwin AT cygwin DOT com |
Delivered-To: | mailing list cygwin AT cygwin DOT com |
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/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |