solve #306, and bin in $PATH make sense now

solve #306, and bin in $PATH make sense now.
Almost revert #173 which lead to the bug in #306

Also remove deprecated `customFds` option in spawn