scala-cli icon indicating copy to clipboard operation
scala-cli copied to clipboard

When using process substitution or -e, Scala CLI shouldn't create .scala-build in the current directory

Open alexarchambault opened this issue 2 years ago • 0 comments

Version(s) 0.1.16

Describe the bug Running commands such as

$ scala-cli <(echo 'println("Hello")')
$ scala-cli -e 'println("Hello")'

creates a .scala-build directory, and uses it to compile the provided input. Scala CLI should rather use a directory under the home directory for that purpose.

alexarchambault avatar Oct 14 '22 12:10 alexarchambault