Guilherme Simões added the comment: Roger, I was running with a subprocess but I tried without one and now it works. ---------- _______________________________________ Python tracker <report at bugs.python.org> <http://bugs.python.org/issue17838> _______________________________________