-- SPDX-License-Identifier: GPL-3.0-or-later ---This file houses LDoc documentation with dummy functions.--- ---Process management ---@module ProcessModule local process_module = {} ---Spawn a process with an optional callback for its stdout, stderr, and exit information. --- ---`callback` has the following parameters:
--- - `stdout` - The process's stdout printed this line.
--- - `stderr` - The process's stderr printed this line.
--- - `exit_code` - The process exited with this code.
--- - `exit_msg` - The process exited with this message.
---@tparam string|string[] command The command as one whole string or a table of each of its arguments ---@tparam function callback A callback to do something whenever the process's stdout or stderr print a line, or when the process exits. function process_module.spawn(command, callback) end ---Spawn a process only if it isn't already running, with an optional callback for its stdout, stderr, and exit information. --- ---`callback` has the following parameters:
--- - `stdout` - The process's stdout printed this line.
--- - `stderr` - The process's stderr printed this line.
--- - `exit_code` - The process exited with this code.
--- - `exit_msg` - The process exited with this message.
---@tparam string|string[] command The command as one whole string or a table of each of its arguments ---@tparam function callback A callback to do something whenever the process's stdout or stderr print a line, or when the process exits. function process_module.spawn_once(command, callback) end