Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com To: cygwin AT cygwin DOT com From: Danilo Turina Subject: Re: patch cygrunsrv for running native win32 applications Date: Thu, 13 Oct 2005 16:10:09 +0200 Lines: 39 Message-ID: References: <434D7EC9 DOT 80504 AT gmx DOT net> <20051013084700 DOT GB13707 AT calimero DOT vinschen DOT de> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit User-Agent: Mozilla Thunderbird 1.0.6 (Windows/20050716) In-Reply-To: <20051013084700.GB13707@calimero.vinschen.de> X-IsSubscribed: yes 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? Ciao, Danilo Corinna Vinschen wrote: > On Oct 12 23:23, Gunnar Thielebein wrote: > >>Hi, >> >>Is it also possible to patch the cygrunsrv service installer for running >>native win32.exe? Means like if you run a windows command/app in bash is >>executed there must be also a way to do it in cygrunsrv. >>I know there are extra utilities for windows like srvany but i like the >>command line interface of cygrunsrv much more and want to know how much >>efforts it would take for adding this feature > > > cygrunsrv was specificially created to run Cygwin applications. For > instance, it expects that the inferior application has an idea what a > POSIX signal is. That said, it would be possible to allow native Windows > apps to run under cygrunsrv, but it doesn't really look worth the effort, > given that *useful* native Windows tools for manipulating services are > available, like the on-board tool "sc". > > Otherwise, if you're still interested to change cygrunsrv: > http://cygwin.com/acronyms/#SHTDI > http://cygwin.com/acronyms/#PTC > > > > Corinna > -- 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/