www.delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2009/04/06/10:11:49

X-Recipient: archive-cygwin AT delorie DOT com
X-Spam-Check-By: sourceware.org
Date: Mon, 6 Apr 2009 16:11:14 +0200
From: Corinna Vinschen <corinna-cygwin AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: Background process with Cygwin
Message-ID: <20090406141114.GE4134@calimero.vinschen.de>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <BAY122-W8E04AF983860C5D5473D2AF840 AT phx DOT gbl>
MIME-Version: 1.0
In-Reply-To: <BAY122-W8E04AF983860C5D5473D2AF840@phx.gbl>
User-Agent: Mutt/1.5.19 (2009-02-20)
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT 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

http://cygwin.com/acronyms/#PCYMTWLL

On Apr  6 09:51, Jeff Irwin wrote:
>   I am running windows server 2003 with cygwin.  I
> am attempting to get a bash script to continue to run in cygwin even
> after I have logged out.

That's not possible.  Windows always kills all processes started
within your logon session as soon as you leave the session.

If you want processes to run independently from your logon session,
you have to start them as Windows service.  Probably the cygrunsrv
tool can help you there, *if* you have the user right to create and
run a Windows service on your machine.


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/

- Raw text -


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