process: migrate arg validation and checking to Lua

This commit is contained in:
takase1121
2024-11-27 20:53:32 +08:00
parent f84305b2b2
commit cf40e254fe
3 changed files with 116 additions and 310 deletions
+1
View File
@@ -46,6 +46,7 @@ table.unpack = table.unpack or unpack
bit32 = bit32 or require "core.bit"
require "core.utf8string"
require "core.process"
-- Because AppImages change the working directory before running the executable,
-- we need to change it back to the original one.