I'm sending commands to ConEmu using GuiMacro. The commands depend on the shell type (cmd/PowerShell/Bash).
How can a process running outside of ConEmu read shell type of specified ConEmu tab (e.g. by accessing its environment variables)?
There is GuiMacro GetInfo root
which returns process name but since it returns info of the root process if I launch cmd tab and then run PowerShell I still get cmd.exe as process name while I expect to get powershell.exe.