From: Reto Schuettel Date: 2006-04-11T14:13:24+09:00 Subject: Re: Strange problem with PTY.spawn() Hi Bruce On Tue, Apr 11, 2006 at 07:12:54AM +0900, Bruce Woodward wrote: > Reto, > > Looking at ruby-1.8.4/ext/pty/pty.c, line 351. To get the runtime error > "can't get Master/Slave device" the opening on /dev/ptmx is failing. > Do you have the file /dev/ptmx? > On a Solaris 8 system here I have; Nono.. the open was fine (look at the truss output, it returns 3). All the commands in this big if-block have to be successfull, otherwise the error message will be shown. > # ls -l /dev/ptmx > lrwxrwxrwx 1 root root 30 Apr 16 2005 /dev/ptmx -> > ../devices/pseudo/clone@0:ptmx > # ls -lL /dev/ptmx > crw-rw-rw- 1 root sys 11, 23 Feb 19 2002 /dev/ptmx > Same here ... > > good luck. luck... I hope this problem doesn't depend on my luck :) .. but thanks anyway. Cheers, Reto Sch�ttel