Skip to content

Commit f0fa9c0

Browse files
committed
fix: LOAD_PATH on windows
1 parent b87f521 commit f0fa9c0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/plutoServerTask.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import * as vscode from "vscode";
22
import { isDefined } from "./helpers.ts";
33
import { isPortAvailable, findAvailablePort } from "./portUtils.ts";
4-
import { getExecutableName } from "./platformUtils.ts";
4+
import { getExecutableName, isWindows } from "./platformUtils.ts";
55

66
/**
77
* Parse Julia executable path to extract command and arguments
@@ -353,7 +353,7 @@ end`
353353
const env: { [key: string]: string } = {
354354
JULIA_PLUTO_VSCODE_WORKSPACE: workspacePath,
355355
JULIA_DEPOT_PATH: "~/.julia",
356-
JULIA_LOAD_PATH: ":",
356+
JULIA_LOAD_PATH: isWindows() ? ";" : ":",
357357
};
358358
if (packageServer) {
359359
env.JULIA_PKG_SERVER = packageServer;

0 commit comments

Comments
 (0)