display return code like Isabelle.app on Mac OS;
authorwenzelm
Sun, 22 Apr 2012 15:55:13 +0200
changeset 47664 3f9681ca7040
parent 47663 20e0865ae9e7
child 47665 2cbf029abca9
display return code like Isabelle.app on Mac OS;
src/Pure/System/main.scala
--- a/src/Pure/System/main.scala	Sun Apr 22 15:50:29 2012 +0200
+++ b/src/Pure/System/main.scala	Sun Apr 22 15:55:13 2012 +0200
@@ -22,7 +22,7 @@
       catch { case exn: Throwable => (Exn.message(exn), 2) }
 
     if (rc != 0) {
-      val text = new TextArea(out)
+      val text = new TextArea(out + "\nReturn code: " + rc)
       text.editable = false
       Library.dialog(null, "Isabelle", "Isabelle output", text)
     }