Support PRINT destination natively
allanbowe opened this issue ยท comments
Currently we direct the PRINT destination to the log, to enable output using a single return file (log)
This actually breaks on windows due to file locks. Instead we should implement actual print destination handling.
The print output is created here: https://github.com/sasjs/server/blob/main/api/src/controllers/internal/Session.ts#L132
path.join(session.path, 'output.lst'),
This file should be returned in the same response, using the same separator as used in the log.
This change will require a corresponding update in the sasjs/adapter repo (such change should be backwards compatible)
To dos:
- Capture PRINT output in SASjs Studio (new tab)
- Capture PRINT output in VS Code extension
actually this is a duplicate of (or would be handled by) #274
๐ This issue has been resolved in version 0.35.0 ๐
The release is available on:
- GitHub release
v0.35.0
Your semantic-release bot ๐ฆ๐