summaryrefslogtreecommitdiff
path: root/xmake/core/base/os.lua
diff options
context:
space:
mode:
authorxq114 <[email protected]>2021-04-16 13:07:55 +0800
committerxq114 <[email protected]>2021-04-16 13:07:55 +0800
commit0ba602c1fdb417188c215ccda4b342549da9924d (patch)
treef31e2f10e71bbafe9b90fe19c0715c881374095a /xmake/core/base/os.lua
parentb335fe5f2a21b0663fe0347069940ed5e7f5f5f8 (diff)
add os.shell
Diffstat (limited to 'xmake/core/base/os.lua')
-rw-r--r--xmake/core/base/os.lua5
1 files changed, 5 insertions, 0 deletions
diff --git a/xmake/core/base/os.lua b/xmake/core/base/os.lua
index e294fbcdb..4afa5ef3e 100644
--- a/xmake/core/base/os.lua
+++ b/xmake/core/base/os.lua
@@ -979,6 +979,11 @@ function os.fscase()
return os._FSCASE
end
+-- get shell
+function os.shell()
+ return require("base/tty").shell()
+end
+
-- get term
function os.term()
return require("base/tty").term()