exec_command.py states in comments it uses /bin/sh on POSIX for subprocess but incorrectly uses shell from environment. This makes compiles fail when compilation is done using the account 'nobody' which is default on pkg-fallout runs.
PR: ports/225156
Submitted by: self
Reported by: self
Reviewed by: antoine
Approved by: antoine