Re: [sage-support] Re: Calling Sage on Windows from external scripts

2023-12-03 Thread Dima Pasechnik
We are actually removing Cygwin support in Sage, so yes, going forward it will be WSL only. On 3 December 2023 14:21:13 GMT, Sean Fitzpatrick wrote: >Thanks David. > >It sounds like that will require some changes in PreTeXt itself. > >I was experimenting because I got a new Windows computer at

Re: [sage-support] Re: Calling Sage on Windows from external scripts

2023-12-03 Thread Sean Fitzpatrick
Thanks David. It sounds like that will require some changes in PreTeXt itself. I was experimenting because I got a new Windows computer at work, to know how well PreTeXt is currently supported on Windows. I think the answer might be that everything works locally, as long as your book doesn't

[sage-support] Re: Calling Sage on Windows from external scripts

2023-12-02 Thread David Ayotte
If you have Python script running locally on Windows, you could call the sage script by doing something like: import os os.system('wsl sage your-sage-script.sage') See this page: https://learn.microsoft.com/en-us/windows/wsl/filesystems for more about Windows-Linux interoperability.