We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9d92efa commit c58fbfeCopy full SHA for c58fbfe
kscript
@@ -231,9 +231,9 @@ kotlin_opts=$(grep -F "//KOTLIN_OPTS" ${scriptFile} | head -n1 | cut -f2- -d' ')
231
232
## Optionally enter interactive mode
233
if [ "$is_interactive" = true ]; then
234
- echo "To create a shell with script dependencies run:"
235
- echo "kotlinc ${kotlin_opts} -classpath '$(resdeps.kts ${dependencies})'"
236
- exit 0
+ echo "Creating REPL from ${scriptFile}" >&2
+ echo "kotlinc ${kotlin_opts} -classpath '${classpath}'" >&2
+ exec kotlinc ${kotlin_opts} -classpath "${classpath}"
237
fi
238
239
scriptCheckSum=$(kscript_md5 ${scriptFile})
0 commit comments