-
Notifications
You must be signed in to change notification settings - Fork 25
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
using autoexec file with build #35
Comments
As written the package sets -SASINITIALFOLDER to the same dir as the submitted program. So if you've got \bibbity\bobbity\boo.sas open & you hit build, SAS should look for a \bibbity\bobbity\autoexec.sas to run first. Is that not the behavior you're seeing? Or is that what you're seeing & you'd rather it did something else? |
Hi, I'm also having the same issue where the autoexec.sas file is not being read from the current working directory. |
Sorry to take so long to look at this. I confirm the behavior & it is a bug. I'm not sure why the SASINITFOLDER specification on the command line isn't working. If I manually submit the very same command-line that sublime's python environment builds up in a cmd or powershell window it works fine. But for some reason when python shells out with that command everything works but sasinitfolder. I'm afraid I'm stumped on this one. I'll leave this issue open in case inspiration strikes me (or anyone) but I fear this is not going to fixed. Sorry. |
If I'm reading this right, on windows that command-line option only affects where the file open & save dialog boxes start out: Reading the linked doco on how SAS determines the current folder when SAS starts, I think this could be overcome by
I'd be interested to hear if this works for anyone, if anybody's still paying attention to this (am not in a good position to test it myself). |
Can you use autoexec files with SAS.sublime-build? I have a file called autoexec.sas in the working directory, but when I run the build SAS is not reading it.
The text was updated successfully, but these errors were encountered: