-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Cannot pass jvm parameters to dotr #3509
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
Comments
I can give it a shot. :) |
Similarly. When we run Or maybe it is enough to run |
Maybe wait a day before starting, I will write down the exact way to handle arguments in dotr. |
Run the REPL if Running should call If several For the REPL keep @allanrenucci WDYT? |
@jiminhsieh if you are still interested, now you can have a stab at it. |
@nicolasstucki If I don't misunderstand, this ticket should change scripts of |
This should only change the |
Basically, we introduce a new command line option dotr [-repl|-run] <jvmopt>* [<Main> <main-args>*]
<jvmopt> = -classpath <some-classpath> | -J<jvm-option> This means
However, I did try to pass JVM option/flag (
Which cases you meant:
In the first situation, BTW, I have one question about Thanks! :) |
Pass JVM options to app. (#3509)
When calling
dotr
(without launching the repl) we cannot pass JVM arguments such as-Xmx512
. We should probably support the-JXmx512
notation thedotc
supports. All flags starting with-J
should be passed to the JVM without theJ
.The text was updated successfully, but these errors were encountered: