This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: chere Bash Prompt Here window closes immediately
- From: Dave Kilroy <kilroyd at googlemail dot com>
- To: cygwin at cygwin dot com
- Date: Mon, 30 Nov 2015 17:47:53 +0000
- Subject: Re: chere Bash Prompt Here window closes immediately
- Authentication-results: sourceware.org; auth=none
- References: <d55704f593cc404199eee16770d2fd49 at XCH-RCD-019 dot cisco dot com>
On 23/10/2015 16:16, Matt Seitz (matseitz) wrote:
> When I right click a folder in Windows Explorer and select
> "Bash Prompt Here", a window opens briefly and then closes
> immediately. If I select "Applications -> Xterm" from the
> Cygwin/X Server tray icon, XTerm opens fine.
>
> Cygcheck and Xwin logs attached. Chere -lr output below.
>
> matseitz@MATSEITZ-WS02 ~
> $ chere -lr
> --- bash keys ---
> Directory menu item (all users)
> &Bash Prompt Here
>
> Drive command (all users)
> C:\cygwin64\bin\run.exe -p /usr/X11R6/bin C:\cygwin64\bin\xterm.exe -display %DISPLAY% -e /bin/xhere /bin/bash.exe "%L"
I suspect this may be due to the use of %DISPLAY% (which I don't
recall). I see that in your environment this is set to ":1.0"
What happens if you run the following from cmd:
cd c:\cygwin64\usr\x11r6\bin
c:\cygwin64\bin\xterm.exe -display %DISPLAY% -e /bin/xhere /bin/bash.exe c:
Is it any different if you run
c:\cygwin64\bin\xterm.exe -display :1 -e /bin/xhere /bin/bash.exe c:
or
c:\cygwin64\bin\xterm.exe -display :0 -e /bin/xhere /bin/bash.exe c:
Also, I presume the X server is already running?
Dave.
--
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