* interactive-services-detection not started on 32-bit cywin executables
@ 2014-01-16 17:10 BGINFO4X
2014-01-16 18:56 ` Larry Hall (Cygwin)
2014-01-16 19:15 ` Larry Hall (Cygwin)
0 siblings, 2 replies; 6+ messages in thread
From: BGINFO4X @ 2014-01-16 17:10 UTC (permalink / raw)
To: cygwin
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.
Note: If I use msys binaries, the console is shown.
You can find more information about uiodetect here:
http://blogs.msdn.com/b/patricka/archive/2010/04/27/what-is-interactive-services-detection-and-why-is-it-blinking-at-me.aspx
Thanks a lot for your time.
--
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
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: interactive-services-detection not started on 32-bit cywin executables
2014-01-16 17:10 interactive-services-detection not started on 32-bit cywin executables BGINFO4X
@ 2014-01-16 18:56 ` Larry Hall (Cygwin)
2014-01-16 19:15 ` Larry Hall (Cygwin)
1 sibling, 0 replies; 6+ messages in thread
From: Larry Hall (Cygwin) @ 2014-01-16 18:56 UTC (permalink / raw)
To: cygwin
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
The only workaround I can think of is to start the uiodetect service.
--
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
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: interactive-services-detection not started on 32-bit cywin executables
2014-01-16 17:10 interactive-services-detection not started on 32-bit cywin executables BGINFO4X
2014-01-16 18:56 ` Larry Hall (Cygwin)
@ 2014-01-16 19:15 ` Larry Hall (Cygwin)
1 sibling, 0 replies; 6+ messages in thread
From: Larry Hall (Cygwin) @ 2014-01-16 19:15 UTC (permalink / raw)
To: cygwin
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?
And now trying it with a simple test (the one suggested at your link below)
it worked for me if the window in which the shell runs is running as
administrator. Did you try that?
<http://blogs.msdn.com/b/patricka/archive/2010/04/27/what-is-interactive-services-detection-and-why-is-it-blinking-at-me.aspx>
--
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
^ permalink raw reply [flat|nested] 6+ messages in thread
* Fwd: interactive-services-detection not started on 32-bit cywin executables
@ 2014-01-17 11:53 BGINFO4X
2014-01-17 12:08 ` BGINFO4X
0 siblings, 1 reply; 6+ messages in thread
From: BGINFO4X @ 2014-01-17 11:53 UTC (permalink / raw)
To: cygwin
> 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
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: interactive-services-detection not started on 32-bit cywin executables
2014-01-17 11:53 Fwd: " BGINFO4X
@ 2014-01-17 12:08 ` BGINFO4X
2014-01-19 22:49 ` Larry Hall (Cygwin)
0 siblings, 1 reply; 6+ messages in thread
From: BGINFO4X @ 2014-01-17 12:08 UTC (permalink / raw)
To: cygwin
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@kztsoftware.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
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: interactive-services-detection not started on 32-bit cywin executables
2014-01-17 12:08 ` BGINFO4X
@ 2014-01-19 22:49 ` Larry Hall (Cygwin)
[not found] ` <CAO2ddnZQ4otrozE-BqKzLn66wyL6oE8uVHLUA7zjF3T52kwg7g@mail.gmail.com>
0 siblings, 1 reply; 6+ messages in thread
From: Larry Hall (Cygwin) @ 2014-01-19 22:49 UTC (permalink / raw)
To: cygwin
On 1/17/2014 7:08 AM, BGINFO4X wrote:
> Hello,
>
> I attach here my tests to clarify:
>
> #Test1 - Only bash
> C:\cywin\bin\bash.exe
>
> Result: bash exits. Interactive window not opened.
<snip>
>> 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.
Yes, you know this now but this was the question you were asking in the
last round. Fortunately, you do not need my answer now. :-)
>> Could you help me?
You're invoking bash non-interactively. Since you want an interactive
shell, you should be using the '-i' flag.
--
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
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2014-01-21 17:21 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-01-16 17:10 interactive-services-detection not started on 32-bit cywin executables BGINFO4X
2014-01-16 18:56 ` Larry Hall (Cygwin)
2014-01-16 19:15 ` Larry Hall (Cygwin)
2014-01-17 11:53 Fwd: " BGINFO4X
2014-01-17 12:08 ` BGINFO4X
2014-01-19 22:49 ` Larry Hall (Cygwin)
[not found] ` <CAO2ddnZQ4otrozE-BqKzLn66wyL6oE8uVHLUA7zjF3T52kwg7g@mail.gmail.com>
2014-01-21 17:21 ` BGINFO4X
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).