diff options
author | Li Haoyi <haoyi.sg@gmail.com> | 2018-11-05 21:35:31 +0800 |
---|---|---|
committer | Li Haoyi <haoyi.sg@gmail.com> | 2018-11-05 23:31:01 +0800 |
commit | 2e2296fc47453785dd5a3e3ca3086584ea290194 (patch) | |
tree | 73c2a08f1d2197abb3b7cf3332489768747bc41c /main/test/src | |
parent | bc9dc386625021fec517f2dbf0644ccafe1e32c2 (diff) | |
download | mill-2e2296fc47453785dd5a3e3ca3086584ea290194.tar.gz mill-2e2296fc47453785dd5a3e3ca3086584ea290194.tar.bz2 mill-2e2296fc47453785dd5a3e3ca3086584ea290194.zip |
fix assembly path handling, swap out Jvm.scala's custom subprocess handling with os.proc
Diffstat (limited to 'main/test/src')
-rw-r--r-- | main/test/src/mill/util/ScriptTestSuite.scala | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/main/test/src/mill/util/ScriptTestSuite.scala b/main/test/src/mill/util/ScriptTestSuite.scala index b324f94c..8a639f92 100644 --- a/main/test/src/mill/util/ScriptTestSuite.scala +++ b/main/test/src/mill/util/ScriptTestSuite.scala @@ -24,7 +24,12 @@ abstract class ScriptTestSuite(fork: Boolean) extends TestSuite{ if (!fork) runner.runScript(workspacePath / buildPath , s.toList) else{ try { - os.proc(os.home / "mill-release", "-i", s).call(wd) + os.proc(os.home / "mill-release", "-i", s).call( + wd, + stdin = os.Inherit, + stdout = os.Inherit, + stderr = os.Inherit, + ) true }catch{case e: Throwable => false} } |