Issue #15607 has been reported by milo974 (Wesley Mouedine Assaby).

----------------------------------------
Bug #15607: RuntimeError (can't get Master/Slave device) using PTY.open
https://bugs.ruby-lang.org/issues/15607

* Author: milo974 (Wesley Mouedine Assaby)
* Status: Open
* Priority: Normal
* Assignee: 
* Target version: 
* ruby -v: ruby 2.5.3p105 (2018-10-18 revision 65156) [x86_64-openbsd]
* Backport: 2.4: UNKNOWN, 2.5: UNKNOWN, 2.6: UNKNOWN
----------------------------------------
Hi

I use OpenBSD 6.4 (amd64) with ruby 2.5.3p105

All code that use PTY module doesn't work, i get RuntimeError(can't get Master/Slave device).

In a console IRB :
>> require 'pty'
    ==>true
>> master, slave = PTY.open
Traceback (most recent call last):
        3: from /usr/local/bin/irb:11:in `<main>'
        2: from (irb):2
        1: from (irb):2:in `open'
RuntimeError (can't get Master/Slave device)

I can provide you ssh access to OpenBSD if you need.

Thank you very much.




-- 
https://bugs.ruby-lang.org/

Unsubscribe: <mailto:ruby-core-request / ruby-lang.org?subject=unsubscribe>
<http://lists.ruby-lang.org/cgi-bin/mailman/options/ruby-core>