Added timeout option for monitor().
This allows monitor() to be used for polling. Of course, you probably want to use poll() first anyway, but it's nice not to have to block if there's no output.
Please register or sign in to comment
This allows monitor() to be used for polling. Of course, you probably want to use poll() first anyway, but it's nice not to have to block if there's no output.