Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't run bash scripts #145

Open
oyuskiv opened this issue Dec 5, 2018 · 3 comments
Open

Can't run bash scripts #145

oyuskiv opened this issue Dec 5, 2018 · 3 comments
Labels

Comments

@oyuskiv
Copy link

oyuskiv commented Dec 5, 2018

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",
    )
@xerial
Copy link
Owner

xerial commented Dec 6, 2018

Generally speaking, program names should not contain any white space. I’m not sure why you need to run a command with a white space.

@oyuskiv
Copy link
Author

oyuskiv commented Dec 6, 2018

I agree with you about white space and this issue has very low priority imho. I made report only to notify you about this.

@xerial xerial added the wontfix label Dec 6, 2018
@xerial
Copy link
Owner

xerial commented Dec 6, 2018

ok. We can sanitize the command name if it contains white spaces for more safety. We will not directly support command names with white spaces, though.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants