diff --git a/api/src/controllers/internal/Session.ts b/api/src/controllers/internal/Session.ts index a120128..39c86e2 100644 --- a/api/src/controllers/internal/Session.ts +++ b/api/src/controllers/internal/Session.ts @@ -82,6 +82,8 @@ ${autoExecContent}` // however we also need a promise so that we can update the // session array to say that it has (eventually) finished. + // Additional windows specific options to avoid the desktop popups. + execFilePromise(process.sasLoc, [ '-SYSIN', codePath, @@ -95,7 +97,9 @@ ${autoExecContent}` autoExecPath, '-ENCODING', 'UTF-8', - process.platform === 'win32' ? '-nosplash' : '' + process.platform === 'win32' ? '-nosplash' : '', + process.platform === 'win32' ? '-icon' : '', + process.platform === 'win32' ? '-nologo' : '' ]) .then(() => { session.completed = true