-
Notifications
You must be signed in to change notification settings - Fork 88
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Paplay fails when running as sudo #28
Comments
I changed the subprocess.call with playsound https://pypi.org/project/playsound/ if you think it is ok I can submit a merge request. |
Yeah, I'd be very happy if you submit a pull request for that. Thanks! |
Just here to comment that this is still an issue in 2024 |
Still waiting on someone who cares enough to submit a PR. |
byteit101
added a commit
to byteit101/python-wifi-survey-heatmap
that referenced
this issue
Aug 12, 2024
This makes a subprocess for the scanner, and only gives root permission to that subprocess so that: 1. We are more secure 2. the ding works with pulse audio. There are some issues with the pkexec setup and envs, but `sudo -E $(which wifi-survey) -S ...` does work with this patch
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
When running the script as root it fails to play the sound:
It looks like it is not possible to run paplay with sudo.
The text was updated successfully, but these errors were encountered: