Hmm. Actually, @FaheemMitha, you might be better off asking your LUA question on
Stack Overflow instead of here. It isn't really a *nix question, it's a LUA question ("how do I get stderr in LUA natively?"; note that you are using 2>&1 construct which won't help. I would have guessed that the
pipe:read("*all")
would have gotten it, but it seems not).