irb(main):008:0> PTY.spawn ('ls') { |r, w, pid| puts r.read }
Errno::EIO: Input/output error - /dev/pts/6
from (irb):8:in `read'
from (irb):8:in `block in irb_binding'
from (irb):8:in `spawn'
from (irb):8
from /usr/local/bin/irb:12:in `<main>'
Created
June 4, 2013 20:59
-
-
Save gorsuch/5709557 to your computer and use it in GitHub Desktop.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment