delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2014/01/17/07:08:59

X-Recipient: archive-cygwin AT delorie DOT com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:mime-version:in-reply-to:references:date
:message-id:subject:from:to:content-type; q=dns; s=default; b=Hj
nLMktD/BKHv9aF3BUlRohN2Kz053KKWffZdh6ObY2s7kKtVYHOuDvWuwm1uKLmdU
gVOpGrdf8Mso/j/w5a+2OgC4cED0qARVF5CBmcDDdcRdAgJOnGeWf4kanO6kuLii
YGoBalIpeNF7N6Tb1hOU7qxRDV9ce7Bykors7skDU=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:mime-version:in-reply-to:references:date
:message-id:subject:from:to:content-type; s=default; bh=+z101l4V
31wVsVXQsv/+139bQ5I=; b=h5cddqKwKN/tiz8OpZotpZ+RdGy/iwE2bWaWB3C2
cD2A9KiaDDRAdVHDC1AHwRtRomHShrcrsRqvVrVaqfoVgMszeVqsRm+uunEeN7q7
58ZkQzNqzLgfyaZnp/Rh5BROCjphX/XJ9GHN9fraA+pzwAC2cyQGrJuhmdZEVYoP
7Rw=
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
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
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)
In-Reply-To: <CAO2ddnY3TFjiaoYr6JtWECWprLBae==9isGX+CXOBhec3OWi-w@mail.gmail.com>
References: <CAO2ddnY3TFjiaoYr6JtWECWprLBae==9isGX+CXOBhec3OWi-w AT mail DOT gmail DOT com>
Date: Fri, 17 Jan 2014 13:08:40 +0100
Message-ID: <CAO2ddnZo51aGT-cjjxjTbvNmXtBkq4vRr4-E-6YXAVa_YcwYTw@mail.gmail.com>
Subject: Re: interactive-services-detection not started on 32-bit cywin executables
From: BGINFO4X <bginfo4x AT kztsoftware DOT com>
To: cygwin AT cygwin DOT com
X-IsSubscribed: yes

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 <bginfo4x AT kztsoftware DOT com>:
>> 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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019