From a5ee2f292384f90e9d95d003d652311c0d91a7a7 Mon Sep 17 00:00:00 2001 From: Allan Bowe Date: Fri, 19 Aug 2022 15:20:36 +0000 Subject: [PATCH] fix: addition of SASINITIALFOLDER startup option. Closes #260 --- api/src/controllers/internal/Session.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/api/src/controllers/internal/Session.ts b/api/src/controllers/internal/Session.ts index 56f1d39c..e34da54b 100644 --- a/api/src/controllers/internal/Session.ts +++ b/api/src/controllers/internal/Session.ts @@ -101,6 +101,8 @@ ${autoExecContent}` session.path, '-AUTOEXEC', autoExecPath, + '-SASINITIALFOLDER', + session.path, process.sasLoc!.endsWith('sas.exe') ? '-nosplash' : '', process.sasLoc!.endsWith('sas.exe') ? '-icon' : '', process.sasLoc!.endsWith('sas.exe') ? '-nodms' : '',