process.lua
---@meta Process local process = {} ---@async ---Runs a command in a terminal, has to be called from a coroutine! ---@param cmd string The command to run. ---@return number exitCode The exit code of the command. function process.runInTerminal(cmd) end ---@async ---Runs a command and returns the output! ---@param cmd string The command to run. ---@return string output The output of the command. function process.commandOutput(cmd) end return process
©2024 The Qt Company Ltd. 本文档中的贡献包括了其各自的版权。所提供的文档是根据自由软件基金会发布的、以GNU自由文档许可协议 versión 1.3 项下的条款授权的。Qt及其相应的标志是芬兰和/或全世界 Qt Company Ltd. 的商标。所有其他商标均为其各自持有者的财产。