``` require 'pty' r, w, pid = PTY.spawn('/usr/bin/yes', 'nope') p r.gets # => "y\r\n" ``` Should return "nope\r\n".