Skip to content
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

Run paplay on background to avoid delay #69

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

ldoktor
Copy link

@ldoktor ldoktor commented Oct 8, 2020

When UDM_PLAY_SOUND is enabled the paplay command waits until the sound is played hanging the terminal. Let's run the paplay in the background to return immediately.

Signed-off-by: Lukáš Doktor ldoktor@redhat.com

When UDM_PLAY_SOUND is enabled the paplay command waits until the sound is played hanging the terminal. Let's run the `paplay` in the background to return immediately.

Signed-off-by: Lukáš Doktor <ldoktor@redhat.com>
qbouvet added a commit to qbouvet/undistract-me that referenced this pull request Oct 12, 2020
Base automatically changed from master to main January 16, 2021 09:40
@kira-bruneau
Copy link

It should also be wrapped in parentheses to suppress the output given for background processes.

See https://stackoverflow.com/q/7686989.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants