Can't run bash script if mapped program name contains space character. bat script works correctly. Names of scripts don't contain space character.
There is small example of build.sbt file that leads to run REPL instead of run program.
packMain := Map("hello scala" -> "Test")
lazy val test = (project in file("."))
.enablePlugins(PackPlugin)
.settings(
name := "Test app",
version := "0.1",
scalaVersion := "2.12.7",
)
Can't run bash script if mapped program name contains space character. bat script works correctly. Names of scripts don't contain space character.
There is small example of build.sbt file that leads to run REPL instead of run program.