then I type http://localhost:8000 in my browser and when I click the Open Terminal, the terminal will not show up. And the server side log is:
[tty.js] You should sha1 your user information.
[tty.js] Listening on port 8000.
[tty.js] foo Session foo created.
[tty.js] foo Created pty (id: /dev/ttys004, master: 19, pid: 48143).
[tty.js] foo Closed pty (/dev/ttys004): 19.
It did created pty but closed this as soon as created. But if I run this code:
it is ok. So I am wondering is there anything I did not notice maybe the shell format is wrong. I don't read the source code, so anyone know about this?
I write such code in my server side:
then I type
http://localhost:8000
in my browser and when I click theOpen Terminal
, the terminal will not show up. And the server side log is:It did created
pty
but closed this as soon as created. But if I run this code:it is ok. So I am wondering is there anything I did not notice maybe the shell format is wrong. I don't read the source code, so anyone know about this?