How to hide output of subprocess
How to hide output of subprocess Question: I’m using eSpeak on Ubuntu and have a Python 2.7 script that prints and speaks a message: import subprocess text = ‘Hello World.’ print text subprocess.call([‘espeak’, text]) eSpeak produces the desired sounds, but clutters the shell with some errors (ALSA lib…, no socket connect) so i cannot easily …
Total answers: 5