[issue21338] Silent mode for compileall

Steven D'Aprano report at bugs.python.org
Thu Apr 24 03:15:38 CEST 2014


Steven D'Aprano added the comment:

Can't you just re-direct stdout or stderr? I'm sure that works even on Windows. E.g.

py -${PY_QUALIFIER} -m compileall -q "$INSTDIR\pkgs" 2> null

Is there a reason you cannot do this? I think that adding functionality to compileall to duplicate what your OS already provides should be a last resort.

I also don't understand what you mean by "it exits early". What exits early? Surely python doesn't exit until compileall finishes running. If it does, that's a bug.

----------
nosy: +steven.daprano

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue21338>
_______________________________________


More information about the Python-bugs-list mailing list