I'm trying to use the Powershell Runner in TeamCity 6.5.2 to run a Psake task that depends on a task that calls out to SqlCmd. If I try to do this, teamcity seems to get into an infinite loop until it eventually times out or errors out.
I'm usinged the -Command option in TeamCity otherwise errors to don't bubble to TeamCity.
It seems like it has something to do with SqlCmd. I found this blog and tried tweaking the sqlcmd encoding to Unicode but no luck.
Has anyone else seen this behavior and if so how to fix?