shithub: rc

ref: bb8517e37128598e18c4591e194992c9b56fcf88
dir: /pcmf/

View raw version
#!/bin/rc
rfork n
t=/tmp/pplay.$pid
fn clean{ rm -f $t }
fn sigexit{ clean }
fn sigint{ clean }
ramfs
play -o /tmp/pplay.$pid $* >[2]/dev/null
pplay -f /tmp/pplay.$pid
rm -f /tmp/pplay.$pid