Open tpolecat opened 4 years ago
Thank you for reporting! What Bloop version are you using?
❯ bloop about
bloop v1.4.0-RC1-105-118a551b
You can start a new version of bloop with the commands
bloop exit
coursier launch ch.epfl.scala:bloopgun-core_2.12:1.4.0-RC1-105-118a551b -- help
I believe the latest version of master uses the -Duser.dir option to determine the working directory of the forked process.
Hi,
The change in #1175 doesn't actually change the working directory when you run from a sub-project. Relative paths are still relative to the project root; it's only when they're canonicalized (
getAbsolutePath
for example) that they are reinterpreted as being rooted atuser.dir
.Here is a little program, in subproject
main
undermodules/main
in my project:When when I run it I see this:
However they don't correspond as expected.
Running from sbt gives the expected result.
There is a JDK issue about this and the evaluation begins:
So I think bloop shouldn't do this. Instead is it possible to set cwd in the process builder?
Thanks!