Skip to content

"Compile + run" doesn't work on Windows. #29

Description

@LuoDiKaiHua
"cmd": "kotlinc \"${file}\" -include-runtime -d ${file_base_name}.jar || exit 1; java -jar ${file_base_name}.jar"

The above command will not run "java -jar ${file_base_name}.jar" on Windows.
It seems to be modified to the following to work.

"cmd": "(kotlinc \"${file}\" -include-runtime -d ${file_base_name}.jar || exit 1) && java -jar ${file_base_name}.jar",

I tested it on Windows and CentOS.😃

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions