diff --git a/api/src/controllers/internal/Session.ts b/api/src/controllers/internal/Session.ts index 3b57f16..e2089b1 100644 --- a/api/src/controllers/internal/Session.ts +++ b/api/src/controllers/internal/Session.ts @@ -16,6 +16,7 @@ import { readFile, isWindows } from '@sasjs/utils' +import { processProgram } from './processProgram' const execFilePromise = promisify(execFile) @@ -101,7 +102,7 @@ ${autoExecContent}` session.path, '-AUTOEXEC', autoExecPath, - isWindows() ? '-nosplash' : '', + process.sasLoc.endsWith('sas.exe') ? '-nosplash' : '', isWindows() ? '-icon' : '', isWindows() ? '-nologo' : '' ])