New submission from Thomas Kluyver:

The compileall module's command line interface has a -q (quiet) flag which 
suppresses most of the output, but it still prints error messages. I'd like an 
entirely silent mode with no output.

My use case is byte-compiling Python files as part of a graphical installer. I 
do this by running:

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

I'd like to be able to use pyw so a terminal doesn't pop up, but if I do that, 
it exits early. I think this is due to the issue with stdout/stderr buffers 
filling up on pythonw.

----------
components: Library (Lib)
messages: 217100
nosy: takluyver
priority: normal
severity: normal
status: open
title: Silent mode for compileall

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue21338>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to