ShellStartupOptions (@Nullable String workingDirectory) { ShellStartupOptions startupOptions = myStartupOptionsThreadLocal.get(); if (startupOptions != null && Objects.equals(startupOptions.getWorkingDirectory(), workingDirectory)) { return startupOptions; } return ShellStartupOptionsKt.shellStartupOptions(workingDirectory); }