Trying to fix my "custom music player" fish script #9770
Replies: 1 comment 11 replies
-
Fish does not currently support backgrounding functions. This is #238. If If it isn't, the issue is that nothing here has told it to react to the USR1 signal (that's number 10). What do you expect to react here? Fish has been signaled but it hasn't been told to do anything. So either send the signal to Or, alternatively, your actual best bet is to use a program built for the purpose - mpd with ncmpcpp might work for you. |
Beta Was this translation helpful? Give feedback.
11 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
so i have the function
whenever I
kill -10 <fish pid running this function>
it does not print the status: because it is currently playing music (and theplay
command does not with when &'d)only after the song finishes does it print the
status:
Beta Was this translation helpful? Give feedback.
All reactions