mfikes / ambly

ClojureScript REPL into embedded JavaScriptCore
http://ambly.fikesfarm.com
Eclipse Public License 1.0
541 stars 21 forks source link

If WebDAV mount hangs, REPL startup will hang #76

Closed mfikes closed 9 years ago

mfikes commented 9 years ago

The sh fn in the REPL employs waitFor on the underlying process, which waits indefinitely.

Instead, we can poll for an exitValue and if process doesn't terminate within a timeout, we can destroy the process.