Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT sources DOT redhat DOT com Delivered-To: mailing list cygwin AT sources DOT redhat DOT com Message-Id: <200107100908.LAA28301@cabs40.col.bsf.alcatel.fr> Date: Tue, 10 Jul 2001 11:08:15 +0200 (MEST) From: Jorge Goncalvez Reply-To: Jorge Goncalvez Subject: Re:Inetd and restart To: cygwin AT sources DOT redhat DOT com MIME-Version: 1.0 Content-Type: TEXT/plain; charset=us-ascii Content-MD5: oAu+1qCLpcVgA58rFDaVfA== X-Mailer: dtmail 1.3.0 @(#)CDE Version 1.4.2 SunOS 5.8 sun4u sparc Hi, I have this code written in Perl to restart inetd but nothing happens. sub restart_serv { $PROG = "c:/cygwin/usr/sbin/inetd.exe"; $SIG{HUP} = \&phenix; sub phenix { exec($PROG) or die " can't restart : $!\n"; } } thanks. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/