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()