diff options
author | Li Haoyi <haoyi.sg@gmail.com> | 2017-11-26 15:49:17 -0800 |
---|---|---|
committer | Li Haoyi <haoyi.sg@gmail.com> | 2017-11-26 15:49:17 -0800 |
commit | b12833e99e1e0939ec35ec31a15631e777cd7446 (patch) | |
tree | 210cc3ad55e31dbadd02844e71bf508258873484 /core/src/main/scala | |
parent | 4219303cb85c5f892c548b129d6350a20df51518 (diff) | |
download | mill-b12833e99e1e0939ec35ec31a15631e777cd7446.tar.gz mill-b12833e99e1e0939ec35ec31a15631e777cd7446.tar.bz2 mill-b12833e99e1e0939ec35ec31a15631e777cd7446.zip |
Acyclic test suite works now that we can fork and set a proper working directory, but only when run alone (???)
Diffstat (limited to 'core/src/main/scala')
-rw-r--r-- | core/src/main/scala/mill/modules/Jvm.scala | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/core/src/main/scala/mill/modules/Jvm.scala b/core/src/main/scala/mill/modules/Jvm.scala index d53c83ba..69dfcda8 100644 --- a/core/src/main/scala/mill/modules/Jvm.scala +++ b/core/src/main/scala/mill/modules/Jvm.scala @@ -16,9 +16,9 @@ object Jvm { def subprocess(mainClass: String, classPath: Seq[Path], - options: Seq[String] = Seq.empty) = { - import ammonite.ops.ImplicitWd._ - %("java", "-cp", classPath.mkString(":"), mainClass, options) + options: Seq[String] = Seq.empty, + workingDir: Path = ammonite.ops.pwd) = { + %("java", "-cp", classPath.mkString(":"), mainClass, options)(workingDir) } private def createManifest(mainClass: Option[String]) = { |