From c45e36f4de1b803aac623cb819f39842e54837d6 Mon Sep 17 00:00:00 2001 From: Paul Steckler Date: Wed, 21 Jun 2017 15:32:18 -0400 Subject: disable async on Windows by default --- ide/coq.ml | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'ide') diff --git a/ide/coq.ml b/ide/coq.ml index cd45e2fcd..67606380e 100644 --- a/ide/coq.ml +++ b/ide/coq.ml @@ -366,7 +366,14 @@ let bind_self_as f = (** This launches a fresh handle from its command line arguments. *) let spawn_handle args respawner feedback_processor = let prog = coqtop_path () in - let args = Array.of_list ("--xml_format=Ppcmds" :: "-async-proofs" :: "on" :: "-ideslave" :: args) in + let async_default = + (* disable async processing by default in Windows *) + if List.mem Sys.os_type ["Win32"; "Cygwin"] then + "off" + else + "on" + in + let args = Array.of_list ("--xml_format=Ppcmds" :: "-async-proofs" :: async_default :: "-ideslave" :: args) in let env = match !Flags.ideslave_coqtop_flags with | None -> None -- cgit v1.2.3