outputWrapped: more robust initial synchronization;
authorwenzelm
Sat, 15 Dec 2007 13:08:30 +0100
changeset 25639 f37e4ac90541
parent 25638 8e001cc72ca8
child 25640 1546ffd84986
outputWrapped: more robust initial synchronization;
lib/classes/isabelle/IsabelleProcess.java
--- a/lib/classes/isabelle/IsabelleProcess.java	Sat Dec 15 12:15:28 2007 +0100
+++ b/lib/classes/isabelle/IsabelleProcess.java	Sat Dec 15 13:08:30 2007 +0100
@@ -197,7 +197,7 @@
 
     private synchronized void outputWrapped(String cmd, String text) throws IsabelleProcessException
     {
-        output(" \\<^sync> " + cmd + " " + encodeString(text) + " \\<^sync>;\n");
+        output(" \\<^sync>\n; " + cmd + " " + encodeString(text) + " \\<^sync>;\n");
     }
 
     public synchronized void command(String text) throws IsabelleProcessException