Fork me on GitHub
#boot
<
2019-04-25
>
patrick05:04:29

Hi short question: how exactly do i pass arguments to my program through boot run? i saw that there is a -a flag but i don't get how i can pass multiple arguments like boot run -a -i somefile.txt -o someotherfile.txt

patrick06:04:52

ok wow i solved my issue by running boot run -a '-i' -a 'somefile.txt' -a '-o' -a 'someotherfile.txt' but still thanks!

kurt-o-sys15:04:04

I'm trying to run a repl with boot using JDK 11 on windows... Even when the java path is set to JDK11, running boot repl always seems to use JDK8... Is there any way to force boot repl to use JDK11 (on windows, in Linux, I have no issues at all)?

alandipert15:04:18

@kurt-o-sys sounds like it could be issue with windows path. when you type java -v in windows, does it report jdk11 or jdk8?

flyboarder16:04:03

@alandipert @kurt-o-sys this is a known issue with the windows build, the current java exe wrapper doesn’t support new versions of the openjdk

flyboarder16:04:41

Run boot using WSL instead, it has better support

kurt-o-sys19:04:10

@alandipert it shows JDK11 @flyboarder yeah, that's what I do now, but WSL doesn't integrate very well with an IDE 🙂. Anyway, I'll probably try to run graphical programs using WSL. Should be possible. (Or just drop Windows again - I decided to give Windows another chance, without much of a success 😛 )

flyboarder19:04:16

@kurt-o-sys our designer is running boot via WSL and VS Code within Windows, both accessing the same files. It works ok.

flyboarder19:04:44

There are registry hacks for the exec wrapper, they have been noted on GitHub issues

kurt-o-sys19:04:53

yeah, they access the same files, that's not the issue... it's about the REPL, and shortkeys copying buffers to the repl etc.

flyboarder19:04:09

Ah I see what you mean

kurt-o-sys19:04:33

well, I'll manage, good to know it is an issue on win.

flyboarder19:04:56

Im planning to work on it, but we need to change a lot before we will get native windows support

kurt-o-sys19:04:25

np, and thx. I'll figure something