delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2005/10/13/10:51:18

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
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
Date: Thu, 13 Oct 2005 10:51:06 -0400 (EDT)
From: Igor Pechtchanski <pechtcha AT cs DOT nyu DOT edu>
Reply-To: cygwin AT cygwin DOT com
To: Danilo Turina <danilo DOT turina AT alcatel DOT it>
cc: cygwin AT cygwin DOT com
Subject: Re: patch cygrunsrv for running native win32 applications
In-Reply-To: <dilpk8$lck$1@sea.gmane.org>
Message-ID: <Pine.GSO.4.63.0510131045450.9865@slinky.cs.nyu.edu>
References: <434D7EC9 DOT 80504 AT gmx DOT net> <20051013084700 DOT GB13707 AT calimero DOT vinschen DOT de> <dilpk8$lck$1 AT sea DOT gmane DOT org>
MIME-Version: 1.0

On Thu, 13 Oct 2005, Danilo Turina wrote:

> Ooops...
>
> I use cygrunsrv to run Mercury32 (that, in addition to be a Win32
> Applicatio, is not a console application) and it works.
>
> Is there maybe some counter-effect that I don't know?

cygrunsrv should have no problems spawning a Windows app.  Logging and
termination are another story -- cygrunsrv will use POSIX signals.

IIRC, there is a cygwin stub for each spawned Windows task.  I don't
remember if this stub translates some POSIX signals to known Windows
signals -- if it does, you can specify those for cygrunsrv to use in
terminating the process.

If you don't care whether the process gets properly terminated on, say,
system shutdown or service stop, and if the process doesn't write anything
to stdout/stderr, I don't think there are other caveats here.

Corinna?
	Igor
-- 
				http://cs.nyu.edu/~pechtcha/
      |\      _,,,---,,_		pechtcha AT cs DOT nyu DOT edu
ZZZzz /,`.-'`'    -.  ;-;;,_		igor AT watson DOT ibm DOT com
     |,4-  ) )-,_. ,\ (  `'-'		Igor Pechtchanski, Ph.D.
    '---''(_/--'  `-'\_) fL	a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

If there's any real truth it's that the entire multidimensional infinity
of the Universe is almost certainly being run by a bunch of maniacs. /DA

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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019