Convert to cygwin path if we are using cygwin.
(path)
| 446 | |
| 447 | |
| 448 | def _ConvertToCygpath(path): |
| 449 | """Convert to cygwin path if we are using cygwin.""" |
| 450 | if sys.platform == "cygwin": |
| 451 | p = subprocess.Popen(["cygpath", path], stdout=subprocess.PIPE) |
| 452 | path = p.communicate()[0].decode("utf-8").strip() |
| 453 | return path |
| 454 | |
| 455 | |
| 456 | def _DetectVisualStudioVersions(versions_to_check, force_express): |
no test coverage detected