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

Merge pull request #268 from sasjs/allanbowe/error-unrecognized-sas-267

fix: making SASINITIALFOLDER option windows only.  Closes #267
This commit is contained in:
Allan Bowe
2022-09-01 13:21:25 +01:00
committed by GitHub

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(() => {