feat: 添加 VM退出时的提示信息

- 在 VMLauncher 启动后增加提示信息 "=== Launching VM ==="
- 在 VM 退出后增加提示信息 "=== VM exited ==="
This commit is contained in:
Luke 2025-07-21 16:57:50 +08:00
parent 7a52c7dd78
commit 970976ecc5

View File

@ -220,6 +220,7 @@ public final class CompileTask implements Task {
if (runAfterCompile) { if (runAfterCompile) {
System.out.println("\n=== Launching VM ==="); System.out.println("\n=== Launching VM ===");
VMLauncher.main(new String[]{outputFile.toString()}); VMLauncher.main(new String[]{outputFile.toString()});
System.out.println("\n=== VM exited ===");
} }
return 0; return 0;