kustomzone / plush

Plush is a browser-based shell or terminal.
Apache License 2.0
0 stars 0 forks source link

Haskeline causes leak of /dev/tty thru every fork/exec #25

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
When plush is run in command line mode, it uses Haskeline. Haskeline on an 
interactive terminal opens an additional handle on /dev/tty. The underlying FD 
for that open handle then leaks thru into every fork and exec plush makes.

Haskeline doesn't give plush enough leverage to be able to manage this FD. See 
http://trac.haskell.org/haskeline/ticket/123 for details.

Plush needs to either wait for a fix from Haskeline, or switch to using 
something else for terminal mode editing.

Original issue reported on code.google.com by m...@glyphic.com on 6 Jan 2013 at 5:51

GoogleCodeExporter commented 9 years ago

Original comment by m...@glyphic.com on 26 Jan 2013 at 6:57