diff --git a/speech_recognition/audio.py b/speech_recognition/audio.py index 2322f36e..7e0c3ee6 100644 --- a/speech_recognition/audio.py +++ b/speech_recognition/audio.py @@ -250,6 +250,7 @@ def get_flac_data(self, convert_rate=None, convert_width=None): "--best", # highest level of compression available "-", # the input FLAC file contents will be given in stdin ], + stderr=subprocess.DEVNULL, stdin=subprocess.PIPE, stdout=subprocess.PIPE, startupinfo=startup_info,