Closed katakombi closed 5 years ago
Alsa devices are blocked if PA is running and not suspended. Should be possible to use pasuspender
pasuspender
this works:
UDOCKER_DIR=~/.dolmades-1.1/ pasuspender -- /home/stefan/Projects/dolmades/cli/udocker --quiet run --user=stefan --volume=/home/stefan/.Xauthority --hostenv --dri 'CME' sh -c '/.dolmades/start.sh ""'
why doesn't it work from python ??? subprocess.call(cmd, Shell=True, close_fds=True)
subprocess.call(cmd, Shell=True, close_fds=True)
Fixed! Had nothing to do with it! don't usepulseaudio -k, it will auto-spawn and not get along well with pasuspender!
pulseaudio -k
Alsa devices are blocked if PA is running and not suspended. Should be possible to use
pasuspender
this works:
why doesn't it work from python ???
subprocess.call(cmd, Shell=True, close_fds=True)