ref: 7062be1f88c9d33a72b8f337134e2bd4d68931ff
parent: 0454f07cb301bb998a5e4569454becb5de910791
author: Sigrid Haflínudóttir <ftrvxmtrx@gmail.com>
date: Mon May 25 13:24:04 EDT 2020
not shutting up decoders was a mistake
--- a/zuke.c
+++ b/zuke.c
@@ -414,6 +414,7 @@
if((pid = rfork(RFPROC|RFFDG|RFREND|RFNOTEG)) == 0){
dup(p[0], 1); close(p[0]);
dup(fd, 0); close(fd);
+ dup(open("/dev/null", OWRITE), 2);
close(p[1]);
snprint(cmd, sizeof(cmd), "/bin/audio/%sdec", pl[player->pcur].filefmt);
execl(cmd, cmd, nil);