From f098a482a38b2cac5cf5d5df8b1b32b2fc9f3270 Mon Sep 17 00:00:00 2001 From: Chaoscaot Date: Thu, 27 Nov 2025 17:43:22 +0100 Subject: [PATCH] Add ProfilerCommand.kt --- src/main/kotlin/commands/profiler/ProfilerCommand.kt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/main/kotlin/commands/profiler/ProfilerCommand.kt b/src/main/kotlin/commands/profiler/ProfilerCommand.kt index d2a26f9..d3ce1e6 100644 --- a/src/main/kotlin/commands/profiler/ProfilerCommand.kt +++ b/src/main/kotlin/commands/profiler/ProfilerCommand.kt @@ -22,6 +22,8 @@ class ProfilerCommand: CliktCommand("profiler") { .start() .waitFor() + Thread.sleep(1000) + ProcessBuilder() .command("ssh", "-o", "StrictHostKeyChecking=no", "-o", "UserKnownHostsFile=/dev/null", "-p", port.toString(), "spark@localhost") .inheritIO()