Swoole
PHP Manual

The Swoole\Process class

(PHP 5 >= 5.2.0, PHP 7, PECL swoole >= 1.9.0)

Introduction

Class synopsis

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

Predefined Constants

Swoole\Process::IPC_NOWAIT

Table of Contents


Swoole
PHP Manual