(PHP 5 >= 5.2.0, PHP 7, PECL swoole >= 1.9.0)
Synopsis de la classe
Swoole\Process
{
public static void alarm
(
integer $interval_usec
)
public void close
(
void
)
public static void daemon
([
boolean $nochdir
[,
boolean $noclose
]] )
public ReturnType exec
(
string $exec_file
,
string $args
)
public void exit
([
string $exit_code
] )
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 void start
(
void
)
public boolean useQueue
(
integer $key
[,
integer $mode
] )
public static array wait
([
boolean $blocking
] )
public integer write
(
string $data
)
}
Constantes pré-définies
Swoole\Process::IPC_NOWAIT
-