1
0
mirror of https://github.com/sasjs/server.git synced 2026-01-08 07:00:04 +00:00

feat: implement the logic for running python stored programs

This commit is contained in:
2022-08-16 15:51:37 +05:00
parent f736e67517
commit b06993ab9e
12 changed files with 235 additions and 20 deletions

View File

@@ -28,11 +28,13 @@ export const setProcessVariables = async () => {
if (MODE === ModeType.Server) {
process.sasLoc = process.env.SAS_PATH
process.nodeLoc = process.env.NODE_PATH
process.pythonLoc = process.env.PYTHON_PATH
} else {
const { sasLoc, nodeLoc } = await getDesktopFields()
const { sasLoc, nodeLoc, pythonLoc } = await getDesktopFields()
process.sasLoc = sasLoc
process.nodeLoc = nodeLoc
process.pythonLoc = pythonLoc
}
const { SASJS_ROOT } = process.env