progs/while-arrays/compile_bfc.sc
changeset 815 f56d18757526
parent 791 d47041b23498
child 817 89f9c68fc417
--- a/progs/while-arrays/compile_bfc.sc	Wed Dec 02 16:03:57 2020 +0000
+++ b/progs/while-arrays/compile_bfc.sc	Thu Dec 03 00:46:59 2020 +0000
@@ -76,7 +76,7 @@
     time_needed(1, os.proc("java", "-jar", "jasmin.jar", s"$class_name.j").call())
   println(s"generated $class_name.class file (in $jasmin_time secs).")
   val (running_time, output) = 
-    time_needed(1, os.proc("java", s"${class_name}/${class_name}").call().out.text())
+    time_needed(1, os.proc("java", s"${class_name}/${class_name}").call(stdout = os.Inherit, stdin = os.Inherit).out.text())
   println(output)
   println(s"done (in $running_time secs).")
 }