aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/ft_music.c4
1 files changed, 4 insertions, 0 deletions
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