From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 15525 invoked by alias); 17 Jan 2014 12:08:45 -0000 Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Received: (qmail 15515 invoked by uid 89); 17 Jan 2014 12:08:44 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-0.9 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2 X-HELO: mail-oa0-f54.google.com Received: from mail-oa0-f54.google.com (HELO mail-oa0-f54.google.com) (209.85.219.54) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES128-SHA encrypted) ESMTPS; Fri, 17 Jan 2014 12:08:42 +0000 Received: by mail-oa0-f54.google.com with SMTP id o6so4422611oag.41 for ; Fri, 17 Jan 2014 04:08:40 -0800 (PST) MIME-Version: 1.0 X-Received: by 10.182.129.201 with SMTP id ny9mr1304101obb.0.1389960520210; Fri, 17 Jan 2014 04:08:40 -0800 (PST) Received: by 10.183.6.226 with HTTP; Fri, 17 Jan 2014 04:08:40 -0800 (PST) In-Reply-To: References: Date: Fri, 17 Jan 2014 12:08:00 -0000 Message-ID: Subject: Re: interactive-services-detection not started on 32-bit cywin executables From: BGINFO4X To: cygwin@cygwin.com Content-Type: text/plain; charset=ISO-8859-1 X-IsSubscribed: yes X-SW-Source: 2014-01/txt/msg00217.txt.bz2 Hello, I attach here my tests to clarify: #Test1 - Only bash C:\cywin\bin\bash.exe Result: bash exits. Interactive window not opened. #Test2 - Two programs C:\cywin\bin\bash.exe "%WD%..\BGBINARIES\Window\Window.exe" Result: Interactive window opened: you can find only Window.exe opened. #Test3 - Bash started via "start" start "test" C:\cywin\bin\bash.exe "%WD%..\BGBINARIES\Window\Window.exe" Result: Interactive window opened: you can find both programs opened. Conclusions: 1- What opens the interactive window is a program that doesn't exit. 2- bash.exe never opens the interactive window because it exits,or it doesn't exit if it is launched with the start command(test3). 3- bash.exe launched with start command is started (test3), but the interactive window is opened due to Window.exe (that doesn't exit). Thanks a lot for your time. 2014/1/17 BGINFO4X : >> On 1/16/2014 12:10 PM, BGINFO4X wrote: >>> >>> Hello everybody, >>> >>> I have a "Windows service implementation of cygwin" via NSSM >>> (http://nssm.cc/). I use cygwin 1.7.27 32 bits. >>> >>> If I configure the service as "allow service to interact with >>> desktop", the UIODETEC.exe is not started, so I can't see the console. >>> >>> Do you know why uiodetect is not started with 32-bit cygwin >>> executables? Any workaround? I tested it on W2008 R2 (64 bits) and W7 >>> 32 bits > > Sorry, I was half wrong: on windows 7 - 32 bits it works. > > The problem happens only on W2008R2 (64 bits) with cygwin 32 binaries. > > For example, when launching only bash.exe as a service, bash EXITS immediately. > > But, If I launch bash.exe and then another win32bit executable (ex: > msys sh.exe), then OIUDetect is "captured" and bash.exe doesn't exit. > > So "it seems that 32 bits cygwin are not correctly managed on 64 bits systems" > >> The only workaround I can think of is to start the uiodetect service. > > No, this is not the question: uiodetect is always started. > > Could you help me? > > Thanks a lot for your time. > > >> >> -- >> Larry >> >> _____________________________________________________________________ >> >> A: Yes. >>> Q: Are you sure? >>>> A: Because it reverses the logical flow of conversation. >>>>> Q: Why is top posting annoying in email? >> >> -- >> Problem reports: http://cygwin.com/problems.html >> FAQ: http://cygwin.com/faq/ >> Documentation: http://cygwin.com/docs.html >> Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple >> -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple