On 2023-10-23 13:27:45 +0100, Barak A. Pearlmutter wrote: > Well that seems a bit drastic! You don't want to lose *all* the error > messages. > I was thinking something which leaves stdout alone and just filters > out annoying stderr lines. > Like this: > > #!/usr/bin/bash > set -e > xournalpp "$@" 2> >(egrep -v '^ALSA lib .*snd_')
To answer this old suggestion: the spurious warning messages do not all contain "ALSA lib". For instance: Cannot connect to server socket err = No such file or directory Cannot connect to server request channel jack server is not running or cannot be started JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for -1, skipping unlock Guessing what to filter out in a robust way is intractable. -- Vincent Lefèvre <[email protected]> - Web: <https://www.vinc17.net/> 100% accessible validated (X)HTML - Blog: <https://www.vinc17.net/blog/> Work: CR INRIA - computer arithmetic / Pascaline project (LIP, ENS-Lyon)

