Skip to content
Snippets Groups Projects
Commit 0fdda27b authored by Tony Salomone's avatar Tony Salomone
Browse files

Fix install step spawns to work on windows.

parent 923c8f79
No related branches found
No related tags found
No related merge requests found
......@@ -408,7 +408,7 @@ export async function executeInstallStep(
// Set installer script filename and options based on platform
// For windows this is a bit hacky...we need to pass a unix-style path to WSL
const exec_cmd = isPlatformWindows()
? `wsl ~/.transformerlab/src/${installScriptFilename}`
? `wsl`
: `${fullInstallScriptPath}`;
console.log(`Running: ${exec_cmd}`);
......@@ -421,8 +421,9 @@ export async function executeInstallStep(
stdout = '';
stderr = '';
const exec_args = [`${argument}`];
const exec_args = isPlatformWindows()
? [`~/.transformerlab/src/${installScriptFilename}`, `${argument}`]
: [`${argument}`];
const options = {};
let process = null;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment