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

solve #306, and bin in $PATH make sense now  #196
Almost revert #173 which lead to the bug in #306

Also remove deprecated `customFds` option in spawn
@rlidwka Are there any advantages with `fork`?