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

coursier.bat and scala-cli.bat ignores all lines except the first of input #2908

Open
Katrix opened this issue Jan 11, 2024 · 0 comments
Open

Comments

@Katrix
Copy link

Katrix commented Jan 11, 2024

With a file foo.txt containing

A B
C D
E F

and program

@main def echoString(strs: String*): Unit = println(strs.mkString(" "))

Calling .scala-cli.aux.exe run . --main-class echoString "--" --input (Get-Content .\foo.txt -Raw) prints

--input A B
C D
E F

Calling scala-cli run . --main-class echoString "--" --input (Get-Content .\foo.txt -Raw) prints

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

No branches or pull requests

1 participant