============ Module spawn ============ .. lua:module:: spawn Spawn child processes See :lua:meth:`dbus `, :lua:meth:`evdev `, :lua:meth:`event `, :lua:meth:`file `, :lua:meth:`hwinfo `, :lua:meth:`log `, :lua:meth:`lua `, :lua:meth:`misc `, :lua:meth:`os `, :lua:meth:`spawn `, :lua:meth:`udev `, :lua:meth:`xorg ` for more information about this type Methods ========== .. list-table:: :header-rows: 0 * - :lua:meth:`run(argv, ignore_output) ` - Start a child process .. lua:method:: run(argv, ignore_output) -> ChildProcess :rtype: :lua:mod:`ChildProcess ` :param argv: arguments passed to command :type argv: [string] :param ignore_output: if true, outputs of the child process will be redirected to :code:`/dev/null`. if this is false, you have to handle the signals to avoid the program's output from being blocked. :type ignore_output: bool Start a child process Returns an object representing the child process.