-
Notifications
You must be signed in to change notification settings - Fork 125
Open
Description
If one wanted to use the kotlin package with Android Studio, the KOTLIN_HOME variable would look something similar to:
export KOTLIN_HOME="/Applications/Android\ Studio.app/Contents/plugins/Kotlin/kotlinc"
However, the execution of the script fails at the presence of the space (even though it's properly escaped).
% echo $KOTLIN_HOME
/Applications/Android\ Studio.app/Contents/plugins/Kotlin/kotlinc
% kscript createSubModules.kts
bash: /Applications/Android/: No such file or directory
[kscript] [ERROR] Execution of scriplet failed:
[kscript] [ERROR] Command : 'bash -c /Applications/Android/ Studio.app/Contents/plugins/Kotlin/kotlinc/bin/kotlin -classpath '[REDACTED]' Main_CreateSubModules '
[kscript] [ERROR] Exit Code : 127
[kscript] [ERROR]
Metadata
Metadata
Assignees
Labels
No labels