|
|
@@ -637,6 +637,7 @@ This module is also a native module of lua, and xmake has been extended to provi
|
|
|
| [os.host](#oshost) | Get Current Host System | >= 2.0.1 |
|
|
|
| [os.ln](#osln) | Link file or directory to the new symfile | >= 2.2.2 |
|
|
|
| [os.raise](#osraise) | Raise an exception and abort the current script | >= 2.2.8 |
|
|
|
+| [os.subhost](#ossubhost) | Get Subsystem host, e.g. msys, cygwin on windows | >= 2.3.1 |
|
|
|
|
|
|
#### os.cp
|
|
|
|
|
|
@@ -1048,6 +1049,10 @@ os.ln("xxx.txt", "xxx.txt.ln")
|
|
|
os.raise("an error occurred")
|
|
|
```
|
|
|
|
|
|
+### os.subhost
|
|
|
+
|
|
|
+- Get subsystem host, e.g. msys, cygwin on windows
|
|
|
+
|
|
|
### winos
|
|
|
|
|
|
The windows system operation module is a built-in module, no need to use [import](#import) to import, you can directly call its interface in the script domain.
|