Closed mfikes closed 9 years ago
The sh fn in the REPL employs waitFor on the underlying process, which waits indefinitely.
sh
waitFor
Instead, we can poll for an exitValue and if process doesn't terminate within a timeout, we can destroy the process.
exitValue
destroy
The
sh
fn in the REPL employswaitFor
on the underlying process, which waits indefinitely.Instead, we can poll for an
exitValue
and if process doesn't terminate within a timeout, we candestroy
the process.