X-Spam-Check-By: sourceware.org Message-ID: <43CFF96E.9010401@gmx.de> Date: Thu, 19 Jan 2006 21:41:18 +0100 From: Holger Krull User-Agent: Thunderbird 1.5 (Windows/20051201) MIME-Version: 1.0 To: cygwin AT cygwin DOT com Subject: Re: problen with run command and the environment References: <20060119000230 DOT 30295 DOT qmail AT web35612 DOT mail DOT mud DOT yahoo DOT com> <43CFF32F DOT 8060802 AT gmx DOT de> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit X-IsSubscribed: yes 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 Igor Peshansky schrieb: > On Thu, 19 Jan 2006, Holger Krull wrote: > >> Maybe have bash start run starting bash, like that: >> >> E:\cygwin\bin\bash.exe -c -l 'run bash -c -l "CYGWIN=server Xwin.exe :0 -query murpel &" ' >> >> It looks overly complicated, but helps me to keep the cygwin dirs from >> the windows Path Variable and to get rid of the extra shell window. > > This will still flash the bash window, however briefly, when started from > a shortcut. The whole point of starting "run" first is to avoid that > window. I forgot to mention that i use this as a link on my desktop and in the properties i set start minimized. So i the bash doesn't show up at all > Also, you want to do "exec XWin" from bash, to avoid the extra > bash process hanging around. the & handles this > BTW, one rarely mentioned alternative to "run" is "setsid". There was a reason i didn't use setsid, but i don't remember it now. I need to check the discussion on Xfree list back then. -- 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/