Fix Bug #20219 (exec does not set $HOME when specifying a user)
Merge pull request #187 from adedommelin/master

Fix Bug #20219