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: From: Jeff Irwin To: Subject: Background process with Cygwin Date: Mon, 6 Apr 2009 09:51:25 -0400 Content-Type: text/plain; charset="Windows-1252" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: 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 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/