From a14c6b476a36f68ba75eb4da651062bdbf8f0dc0 Mon Sep 17 00:00:00 2001 From: JozanLeClerc Date: Fri, 6 Mar 2020 21:47:52 +0100 Subject: Good --- src/ft_music.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src') diff --git a/src/ft_music.c b/src/ft_music.c index 0667ecb..3104978 100644 --- a/src/ft_music.c +++ b/src/ft_music.c @@ -17,9 +17,13 @@ void ft_music_fork(char **mcmd_words, char *const envp[]) { if (FT_OS == 1) + { execve("/usr/bin/afplay", mcmd_words, envp); + } else + { execve("/usr/bin/aplay", mcmd_words, envp); + } } void -- cgit v1.2.3