Why and what are you printing to SOXOUT? IOW why are you printing anything to SOXOUT and extrapolating from that why are you using open2 at all?
Removing the print SOXOUT $buf; line seems to fix the issue as far as I'm able to reproduce it.
As far as I can see it looks like you're misunderstanding the sox interface.
In reply to Re: I need some help with open2
by Joost
in thread Reaped: I need some help with open2
by NodeReaper
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |