progs/while/compile.sc
changeset 815 f56d18757526
parent 812 2f9a0dcf61ae
child 816 2b6e23985982
--- a/progs/while/compile.sc	Wed Dec 02 16:03:57 2020 +0000
+++ b/progs/while/compile.sc	Thu Dec 03 00:46:59 2020 +0000
@@ -217,7 +217,7 @@
     val code = compile(bl, class_name)
     os.write.over(os.pwd / s"$class_name.j", code)
     os.proc("java", "-jar", "jasmin.jar", s"$class_name.j").call()
-    print(os.proc("java", s"$class_name/$class_name").call().out.string)
+    os.proc("java", s"$class_name/$class_name").call(stdout = os.Inherit, stdin = os.Inherit)
 }
 
 @main