The context for this is that I want to read the user's path from xmonad, where the path is modified by whatever's in their .bashrc if applicable.
Here's what I find weird: if I have xmonad execute
bash -cl "env && echo $PATH" it returns an
env which includes one
$PATH which does not match that returned by echo. (I want the former.)
And is there a way to fix this, other than parsing the