You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As an IDEasy kotlinc user on Mac x64 I expect kotlinc to be closed properly when I type :quit.
Actual behavior
Nothing happens and the command prompt gets stuck.
bash-3.2$ ide kotlinc
Updates are available for the settings repository. If you want to pull the latest changes, call ide update.
Trying to download kotlinc-2.1.0.zip from https://github.com/JetBrains/kotlin/releases/download/v2.1.0/kotlin-compiler-2.1.0.zip
Downloading 100% │█████████████████████│ 82/82MiB (0:00:03 / 0:00:00) 27,5MiB/s
Checksum b6698d5728ad8f9edcdd01617d638073191d8a03139cc538a391b4e3759ad297 is correct.
Extracting ZIP file /Users/Username/Downloads/ide/default/kotlinc-2.1.0.zip to /Users/Username/IdeasyTestProjects/_ide/tmp/extract-kotlinc-2.1.0.zip
Extracting 100% │█████████████████████████│ 90/90MiB (0:00:00 / 0:00:00) ?MiB/s
Successfully installed kotlinc in version 2.1.0
Welcome to Kotlin version 2.1.0 (JRE 21.0.5+11-LTS)
Warning: this REPL implementation is deprecated and will be removed soon.
Warning: REPL is not compatible with the Kotlin version 2.1.0, using '-language-version 1.9'.
Type :help for help, :quit for quit
>>> :quit
Steps to reproduce (bug) / Use Case of feature request (enhancement)
Run ide kotlinc
Try to close the terminal by typing :quit
Related/Dependent Issues
Comments/Hints:
Affected version:
OS: Mac x64
IDEasy: 2024.12.001-beta-SNAPSHOT
The text was updated successfully, but these errors were encountered:
At first I thought this bug is invalid but it is working properly if not prefixed by ide command.
Further, if prefixed by ide command the kotlinc REPL shell starts and prints the output as displayed above but the terminal prevents the user from entering any data
That is IMHO a fundamental design problem of IDEasy since the user input is send to IDEasy and that started kotlinc but does not forward the users input to the kotlinc process.
What we would need to do is to replace our IDEasy process with the kotlinc process what is possible in C programming but I have no clue how to things like that in Java via process API and if that is possible at all.
The bug description is slightly confusing to me since for me it is impossible to even type and enter :quit into the kotlinc REPL shell.
Maybe this behaves differently on Windows compared to Mac.
However, after I press [Ctrl][c] then kotlinc is terminated and after that, I can see my typed text that was "invisible" before and never reached kotlinc process.
hohwille
changed the title
kotlinc process can not be closed properly on Mac x64
DUPLICATE: kotlinc process can not be closed properly on Mac x64
Jan 19, 2025
Expected behavior
As an IDEasy kotlinc user on Mac x64 I expect kotlinc to be closed properly when I type :quit.
Actual behavior
Nothing happens and the command prompt gets stuck.
Steps to reproduce (bug) / Use Case of feature request (enhancement)
de kotlinc
:quit
Related/Dependent Issues
Comments/Hints:
Affected version:
The text was updated successfully, but these errors were encountered: