diff options
| author | ruki <[email protected]> | 2017-03-27 14:52:33 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2017-03-27 14:52:33 +0800 |
| commit | 3bbd679fd2edbda30369d74a02949fd193a93211 (patch) | |
| tree | 4ff12a24fe935be93c41525729f7f7ee47d09ed5 /xmake/core/sandbox/modules/os.lua | |
| parent | cbe9a6b04ec8fca881fc39d360e941bf795c86da (diff) | |
wrap sudo
Diffstat (limited to 'xmake/core/sandbox/modules/os.lua')
| -rw-r--r-- | xmake/core/sandbox/modules/os.lua | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/xmake/core/sandbox/modules/os.lua b/xmake/core/sandbox/modules/os.lua index 29cf115f4..15f75ae08 100644 --- a/xmake/core/sandbox/modules/os.lua +++ b/xmake/core/sandbox/modules/os.lua @@ -445,6 +445,11 @@ function sandbox_os.uuid(name) return uuid end +-- get sudo program name for running program with administrator permission +function sandbox_os.sudo() + return os.sudo() +end + -- return module return sandbox_os |
