X-Spam-Check-By: sourceware.org To: cygwin AT cygwin DOT com From: mwoehlke Subject: Re: rvxt-20050409-1 console problem [SUMMARY] Date: Thu, 18 May 2006 10:27:44 -0500 Lines: 20 Message-ID: References: <44695649 DOT 9080001 AT cwilson DOT fastmail DOT fm> <446C153A DOT 9000105 AT cwilson DOT fastmail DOT fm> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit User-Agent: Thunderbird 1.5 (X11/20051201) In-Reply-To: <446C153A.9000105@cwilson.fastmail.fm> X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Unsubscribe: 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 Charles Wilson wrote: > I'm leaning toward this solution, in a more generic sense, like: > "gui-switcher.exe --config=/etc/rxvt-selector.conf" > > It'll go into the checkX package since it'll leverage a lot of the same > code. And that's why I need to track down these issues with > rxvt-unicode-X+run+loginShell...'cause if they are not solved with > run.exe, they'll show up again with gui-switcher.exe. I know this isn't an "ideal" solution, but have you considered fork()ing and exec()ing 'checkX' and using wait() to get the return code? That would require your app to have checkX installed but would avoid duplicating the code and/or having to library-ize it (i.e. would be faster to implement). OTOH a lib (or static lib) is generally not a bad idea. -- Matthew Hey, buddy, if it's OT, TITTTL! -- 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/