theoden  committed 117f604

Patch to solve strange bug with testing on Windows.

Execution hanged during query request. It was catched in the while-true
cycle at fabric.operations._execute. Looks like it unsuccessfully waited for any
output to stdout and stderr.

This patch leads to distinct stderr (see )
and solves the problem.

  • Participants
  • Parent commits a9d9582
  • Branches default

Comments (0)

Files changed (1)

File fab_deploy/db/

                 return sudo(cmd, user=db_user)
             return sudo_cmd()
-        return run(pwd_cmd + cmd)
+        return run(pwd_cmd + cmd, pty=False, combine_stderr=False)
     def _user_exists(self, db_user):