sox won't write output file when run in spawned shell
Rob Robinett <[email protected]>
| Newsgroups | gmane.comp.audio.sox |
|---|---|
| Message-ID | <CADO0QibutfZzXetfiVX=aaeSsFVj3Bbc0_0BfscFNtmGArMJ0g@mail.gmail.com> |
Hi, I am trying to us sox as part of an RF signal processing daemon on a Raspberry Pi 3B Stretch. When I execute sox from a terminal command line the output file is created, but when I spawn the command it runs but doesn't create the output file: runs and creates '0.wav': sox -r 32k -t raw -e s -b 16 -c 1 0.raw -r 12k 0.wav runs but doesn't create '0.wav': sox -r 32k -t raw -e s -b 16 -c 1 0.raw -r 12k 0.wav redirecting stdin/out/err and it still doesn't create '0.wav': sox -r 32k -t raw -e s -b 16 -c 1 0.raw -r 12k 0.wav &> out.log < /dev/null & the sox output seems the same in all cases and echo $? print 0 == success. What am I missing? thanks Rob -- Rob Robinett AI6VN [email protected] mobile: +1 650 218 8896 _______________________________________________ Sox-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/sox-users