==================================== Type deai.builtin.spawn:ChildProcess ==================================== .. lua:module:: deai.builtin.spawn.ChildProcess See :lua:meth:`spawn.run ` for more information about this type Properties ========== .. list-table:: :header-rows: 0 * - :lua:attr:`pid ` - Pid of the child process .. lua:attribute:: pid: integer :type: integer Pid of the child process Methods ========== .. list-table:: :header-rows: 0 * - :lua:meth:`kill(signal) ` - Send signal to child process .. lua:method:: kill(signal) -> void :rtype: void :type signal: integer :param signal: Send signal to child process Signals ========== .. list-table:: :header-rows: 0 * - :lua:sgnl:`exit(exit_code, signal) ` - The child process exited. * - :lua:sgnl:`stderr_line(line) ` - The child process wrote one line to stderr. * - :lua:sgnl:`stdout_line(line) ` - The child process wrote one line to stdout. .. lua:signal:: exit(exit_code, signal) :type exit_code: integer :param exit_code: :type signal: integer :param signal: The child process exited. .. lua:signal:: stderr_line(line) :type line: string :param line: The child process wrote one line to stderr. Only generated if "ignore_output" wasn't set to true. .. lua:signal:: stdout_line(line) :type line: string :param line: The child process wrote one line to stdout. Only generated if "ignore_output" wasn't set to true.