79823879

Date: 2025-11-18 21:48:16
Score: 2.5
Natty:
Report link

Even though running "kotlin test.kts" only works if:

  1. kotlin.bat path doesn't have a space in it

  2. context folder (what pwd shows) doesn't have a space

  3. relative/full path to *.kts file is quoted to escape spaces

I can call:

PS H:\My Drive\project> kotlinc -script test.kts

and it works. What is the point of just "kotlin".bat? Idk

Reasons:
  • Has code block (-0.5):
  • Ends in question mark (2):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: Vadym Borys