Skip to content

Commit 05697ba

Browse files
Add error handle in fsi
1 parent ba37a65 commit 05697ba

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/Components/Fsi.fs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ module Fsi =
2525
(if Process.isWin () then Process.spawn "Fsi.exe" "" "" else Process.spawn "fsharpi" "" "")
2626
|> Process.onExit (fun _ -> fsiOutput |> Option.iter (fun fo -> fo.clear () ))
2727
|> Process.onOutput handle
28+
|> Process.onError handle
2829
|> Some
2930
fsiOutput <-
3031
window.Globals.createOutputChannel("F# Interactive")

0 commit comments

Comments
 (0)