diff --git a/rc/bin/hget b/rc/bin/hget index 456984436..e7e9fab32 100755 --- a/rc/bin/hget +++ b/rc/bin/hget @@ -1,4 +1,5 @@ #!/bin/rc +rfork e argv0=$0 fn usage { echo usage: $argv0 [ -o file ] [ -p body ] [ -r header ] [ -m method ] [ -b baseurl ] url >[1=2] diff --git a/rc/bin/play b/rc/bin/play index f7b8ce37b..2acbdf8ba 100755 --- a/rc/bin/play +++ b/rc/bin/play @@ -1,4 +1,5 @@ #!/bin/rc +rfork e out=/dev/audio typ=() diff --git a/sys/src/games/music/playlistfs/player.c b/sys/src/games/music/playlistfs/player.c index b0791dbc0..2180e6102 100644 --- a/sys/src/games/music/playlistfs/player.c +++ b/sys/src/games/music/playlistfs/player.c @@ -69,7 +69,7 @@ startplay(ushort n) pfd->filename = file; /* mallocated already */ pfd->fd = fd[1]; pfd->cfd = fd[0]; - procrfork(decexec, pfd, 4096, RFFDG); + procrfork(decexec, pfd, 4096, RFFDG|RFENVG); close(fd[1]); /* write fd, for pac4dec */ return fd[0]; /* read fd */ }