delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2009/04/06/09:51:41

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=0.0 required=5.0 tests=BAYES_50,SPF_PASS
X-Spam-Check-By: sourceware.org
Message-ID: <BAY122-W8E04AF983860C5D5473D2AF840@phx.gbl>
From: Jeff Irwin <jeffrosquad AT hotmail DOT com>
To: <cygwin AT cygwin DOT com>
Subject: Background process with Cygwin
Date: Mon, 6 Apr 2009 09:51:25 -0400
MIME-Version: 1.0
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

I have been beating my head on a wall for two weeks and have googled til my=
 fingers bled.  I am running windows server 2003 with cygwin.  I am attempt=
ing to get a bash script to continue to run in cygwin even after I have log=
ged out.  I have tried several different tactics.  The most recent and clos=
est to success has been using the =93nohup=94 command.  I am opening a cygw=
in bash window and typing the following:
=20
$ nohup mycommand.bash &=20
The script runs in the background but the bash window stays open.  When I l=
og out or try to close the window I executed nohup from, I get the followin=
g error=85=85
=20
$  3 [main] ?  child_copy: cygheap read copy failed, 0x611688E0..0x611706D0=
m dibe 0, windows pid 0, Win32 error 5
1876 [main] bash 5072 child_copy: dll data read copy failed, 0x61102000..0x=
61106BA0, done 0, windows pid 5072, Win32 error 5
=20
The window will stay up for a few minutes and then go away and the script t=
hat was running is now dead.=20=20
=20
I am not an expert by any means so any help regardless of how elementary is=
 appreciated.  I know I am not the first squirrel to try to crack this nut =
so I figured I would toss this out in hopes some =93big brain=94 would take=
 notice and pity.
_________________________________________________________________
Rediscover Hotmail=AE: Get quick friend updates right in your inbox.=20
http://windowslive.com/RediscoverHotmail?ocid=3DTXT_TAGLM_WL_HM_Rediscover_=
Updates1_042009

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