Allow void expressions, and capture stdout