1
0
mirror of https://github.com/sasjs/server.git synced 2025-12-10 19:34:34 +00:00

fix: making SASINITIALFOLDER option windows only. Closes #267

This commit is contained in:
Allan Bowe
2022-09-01 12:18:53 +00:00
parent e67d27d264
commit e63271a67a

View File

@@ -101,13 +101,12 @@ ${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' : '',
process.sasLoc!.endsWith('sas.exe') ? '-noterminal' : '',
process.sasLoc!.endsWith('sas.exe') ? '-nostatuswin' : '',
process.sasLoc!.endsWith('sas.exe') ? '-SASINITIALFOLDER' : session.path,
isWindows() ? '-nologo' : ''
])
.then(() => {