Aladdin - Scala Bugtracking
[#1264] project: compiler priority: low category: bug
submitter assigned to status date submitted
Iulian Stephane open 2007-08-08 10:53:38.0
subject [contrib #734] Compiler daemon not completely detaching on Windows
code
!!! Tested using Scala 2.6.0-RC1 on cygwin (also occur with past releases)


!!! Stop any resident Scala compiler process (java.exe in Task Manager)

$ echo {} > test.scala

$ cat test.scala
{}

$ rm -f ./test.jar

$  scala -savecompiled ./test.scala 2>&1 | tee log.txt


!!! We never receive a command prompt

!!! Using  -nocompdaemon  avoids the problem

!!! Having an existing test.jar, or an existing resident Scala compiler process, avoids the problem



!!! Using Windows Command Prompt

!!! Stop any resident Scala compiler process (java.exe in Task Manager)

C:\experiment>del test.jar

C:\experiment>"c:/....2.6.0-RC1/files/bin/scala.bat" ./test.scala  | more

!!! We never receive a command prompt

!!! Using  -nocompdaemon  avoids the problem


!!! In each case, I suspect the next command in the pipe (tee, more)
!!! is waiting for output from the newly resident Scala compiler
what happened
no command prompt
what expected command prompt
[back to overview]
Changes of this bug report
Iulian  edited on  2007-08-08 10:53:53.0