answered 4 years ago
As far as I know, the Windows version of SageMath uses Cygwin. "Build Sage from source in Cygwin" section of https://wiki.sagemath.org/SageWindows may give you some clues.