Fix an error when calling execGetOutput with shell=True and a shell comamnd that uses pipes.
Adding Language/Locale handling.