in reply to Capturing data with backticks and sockscap

Did you test that "socksification" (whatever that is) is what really is the cause? For example, by capturing output of a hello world script first unsocksified then socksified. Also maybe it is failing as a side-effect of trying to enable socksification (sorry, I like this word), not just the fact that it's socksed. For instance, you used a wrong flag or interpolated some variable on the shell command line. In particular, there is a `@' in your command-line that I have my eye on. Did you use the `-w' flag and `use strict'?