mirror of
https://github.com/aome510/spotify-player.git
synced 2026-04-26 09:25:49 +03:00
[PR #346] [MERGED] Wait for the copy command to exit. #1665
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#1665
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/346
Author: @Fuyukai
Created: 1/24/2024
Status: ✅ Merged
Merged: 1/24/2024
Merged by: @aome510
Base:
master← Head:fix-zombies📝 Commits (2)
ec9653fWait for the copy command to exit.8949e29Run cargo format.📊 Changes
1 file changed (+7 additions, -5 deletions)
View changed files
📝
spotify_player/src/event/popup.rs(+7 -5)📄 Description
There's a bit of jank in the error handling to make sure it waits for the child to exit on all possible paths, and it suppresses the stdin error if
.wait()fails, but I couldn't think of a nicer way. Very open to fixing this.Closes #345.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.