Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Task working directory is ignored if ConEmu is already open #1660

Open
Maximus5 opened this issue Jul 31, 2015 · 5 comments
Open

Task working directory is ignored if ConEmu is already open #1660

Maximus5 opened this issue Jul 31, 2015 · 5 comments

Comments

@Maximus5
Copy link
Owner

Originally reported on Google Code with ID 1661

Required information!
OS version: Win8.1 x64
ConEmu version: 140723 alpha
Far version: N/A

*Bug description*
I have a task with command "C:\MinGW\msys\1.0\bin\bash.exe -i" (incl quote), and task
parameters "/dir "C:\src-gecko\inbound"" (excl quotes).
The conemu startup prefs are set to "specific named task", with the above task selected.

If ConEmu is already open, clicking the same pinned taskbar icon for it again, causes
a new console tab to open, but that tab has the wrong working directory.

*Steps to reproduction*
1. Ensure ConEmu task/startup options are set as above.
2. Click the pinned taskbar icon once
3. Observe ConEmu opening the startup tab (with correct working directory)
4. Click the pinned taskbar icon again (I do this by accident, when I forget it's already
open, after having collapsed the console using quake mode).

Expected:
A new tab opens, with working directory: "/c/src-gecko/inbound"

Actual:
A new tab opens, but with working directory: "/c/Users/Ed"

I believe this regressed sometime in the last year (helpful range I know - let me know
if there is an easy way to test old versions without installing them).

Let me know if I can provide any more info.

Thanks :-)

Reported by emorley@mozilla.com on 2014-08-04 13:02:03

@Maximus5
Copy link
Owner Author

CygwinWorkDir

Reported by ConEmu.Maximus5 on 2014-08-04 13:09:43

@Maximus5
Copy link
Owner Author

I don't believe that helps:
1) I can already get ConEmu to start bash in the correct directory (I'm not using "--login"
so it doesn't cd into the directory).
2) This only occurs when re-invoking ComEmu when it is already open, so must be related
to ComEmu behaviour differences when first opened, vs invoked again.

Reported by emorley@mozilla.com on 2014-08-04 13:24:06

@Maximus5
Copy link
Owner Author

Check the same, please, with simple cmd.exe as shell (in the task).
Also, attach your ConEmuXml

Reported by ConEmu.Maximus5 on 2014-08-04 13:32:13

@Maximus5
Copy link
Owner Author

(Sorry reposting with correct account)
This issue reproduces with a task like so:

command:
cmd.exe

task parameters:
/dir "C:\src-gecko\inbound"

Initial opening of ConEmu (and opening new tabs after that, using the ConEmu UI itself)
opens in "C:\src-gecko\inbound".
However clicking the taskbar icon again results in "C:\Users\Ed>"

My ConEmuXml is attached.

Reported by emorley@mozilla.com on 2014-08-05 16:00:50


- _Attachment: [conemu.xml](https://storage.googleapis.com/google-code-attachments/conemu-maximus5/issue-1661/comment-5/conemu.xml)_

@Maximus5
Copy link
Owner Author

I've just updated to version 140815 (from 140723) and this is now fixed. Thank you :-)

Reported by emorley@mozilla.com on 2014-08-18 07:32:43

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant