mirror of
https://github.com/aome510/spotify-player.git
synced 2026-04-26 09:25:49 +03:00
[PR #553] [MERGED] fix copy command blocking #1733
Labels
No labels
bug
documentation
enhancement
good first issue
help wanted
pull-request
question
third-party
third-party
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/spotify-player#1733
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/aome510/spotify-player/pull/553
Author: @juliamertz
Created: 8/22/2024
Status: ✅ Merged
Merged: 8/24/2024
Merged by: @aome510
Base:
master← Head:fix-copy-command📝 Commits (1)
86b789f"fix" copy command blocking📊 Changes
1 file changed (+3 additions, -3 deletions)
View changed files
📝
spotify_player/src/event/clipboard.rs(+3 -3)📄 Description
Fixes #538. It turns out that
child.wait_with_output()blocks for a long time when either stdin or stderr is piped. I’ve tried multiple workarounds, but they all yield the same result.This fix resolves the blocking issue, though we won't be able to read any output, making error messages completely useless.
Interestingly, when there is actually an error (e.g., passing invalid arguments), it doesn’t block and correctly reads from stderr.
I can share a small reproduction of this issue if that would be helpful.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.