The Swoole\Process class

Introduction

Class synopsis

Swoole\Process
class Swoole\Process {
/* Constants */
const int Swoole\Process::IPC_NOWAIT = 256;
/* Methods */
public static void alarm(int $interval_usec)
public void close()
public static void daemon(bool $nochdir = ?, bool $noclose = ?)
public void __destruct()
public ReturnType exec(string $exec_file, string $args)
public void exit(string $exit_code = ?)
public void freeQueue()
public static bool kill(int $pid, int $signal_no = ?)
public bool name(string $process_name)
public mixed pop(int $maxsize = ?)
public bool push(string $data)
public string read(int $maxsize = ?)
public static void signal(string $signal_no, callable $callback)
public void start()
public array statQueue()
public bool useQueue(int $key, int $mode = ?)
public static array wait(bool $blocking = ?)
public int write(string $data)
}

Predefined Constants

Swoole\Process::IPC_NOWAIT

Table of Contents