refactor parallel code

This commit is contained in:
kepler155c@gmail.com
2019-04-05 17:32:22 -04:00
parent d5eb07c3b9
commit 426c856dfb
44 changed files with 3645 additions and 182 deletions

6
openos/apis/sh.lua Normal file
View File

@@ -0,0 +1,6 @@
local shell = _ENV.shell
return {
execute = function(_, ...) return shell.run(...) end,
getLastExitCode = function() return 0 end,
}