sqp / pulseaudio

pulseaudio dbus client for go
ISC License
36 stars 7 forks source link

ModuleIsLoaded() Errors if Golang is from snap #3

Open lornajane opened 4 years ago

lornajane commented 4 years ago

With golang installed from a snap, ModuleIsLoaded() always exited with status 1 - I think because it doesn't have permission to run the pacmd command. Using "normal" golang (downloaded from the go website) does not have the same problem.

I'm not sure what the answer is, a line in the README to warn users maybe? But I wanted to mention it in case anyone else hit the same thing.

joonas-fi commented 1 year ago

This doesn't make sense. Go is a compiler, and as such it is only concerned about build-time stuff, not runtime stuff.

Were you running your compiled binary inside a sandbox as well? That could explain it, but it has nothing to do with the programming language or the compiler.