Maximus5 / conemu-old-issues

Old issues imported from googlecode. Project was moved to
https://conemu.github.io
6 stars 1 forks source link

Powershell Profile In ConEmu #1520

Open Maximus5 opened 9 years ago

Maximus5 commented 9 years ago

Originally reported on Google Code with ID 1520

OS Version: Windows 8.1
ConEmu Version: 140310.x64

I have an issue with ConEmu and PowerShell where the $profile variable doesn't point
to the correct locations for the CurrentUser profiles.  The AllUser profile both point
to the correct location but the CurrentUser profiles always point to the current directory,
they don't point to a fully qualified path. If I start PowerShell outside of ConEmu
and then attach it everything works perfectly, but when I start powershell inside ConEmu
the profiles are always messed up.  My task to start powershell is simply powershell.exe
nothing else

Is there any reason why the profile is incorrect when starting powershell from within
ConEmu?

Reported by monrobot13 on 2014-03-24 17:32:00

Maximus5 commented 9 years ago
ConEmu does not set up any powershell "profiles". So, I don't believe that is ConEmu's
problem.
Actually, you had not tell anything precise. How do you "start PowerShell outside of
ConEmu"? Win+R? Shortcut? What do you meaning with "CurrentUser" exactly? How do you
run ConEmu (and powershell) exactly?

If your shortcut runs properly - just replicate shortcut properties to the ConEmu task.
If not...

Hm. Run ProcessMonitor and check how powershell is started under ConEmu and outside
of. Attach logs.

At last, Create full memory dumps (MiniDump) of powershell processes started under
ConEmu (1) and outside of ConEmu and attached to ConEmu (2). Upload to DropBox or smth
and post links.

Reported by ConEmu.Maximus5 on 2014-03-24 21:32:02