From b4175a13ae1411516b085d1f9c2a3927591ec358 Mon Sep 17 00:00:00 2001 From: mcafaro Date: Thu, 9 May 2024 14:28:36 -0400 Subject: [PATCH] Fix command string spacing --- src/matlab.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/matlab.ts b/src/matlab.ts index 1e72ba1..533747e 100644 --- a/src/matlab.ts +++ b/src/matlab.ts @@ -57,7 +57,7 @@ export async function runCommand(hs: HelperScript, platform: string, architectur const rmcPath = getRunMATLABCommandScriptPath(platform, architecture); await fs.chmod(rmcPath, 0o777); - const rmcArg = `setenv('MW_ORIG_WORKING_FOLDER', cd('${script.pathToCharVec(hs.dir)}'));${hs.command}`; + const rmcArg = `setenv('MW_ORIG_WORKING_FOLDER',cd('${script.pathToCharVec(hs.dir)}')); ${hs.command}`; let execArgs = [rmcArg];