Documentation

Process

Process Interface

Table of Contents

Methods

create()  : Process
Creates the process This function is used to recreate a Process Object from the Task table Instead of forcing a unique constructor, only enforcement is to have a constructor without m mandatory arguments
executable()  : returns
isRunning()  : returns
Checks if there are running processes of a certain class or with a given pid
pid()  : returns
run()  : int
Starts the process and returns the pid
startDate()  : int

Methods

create()

Creates the process This function is used to recreate a Process Object from the Task table Instead of forcing a unique constructor, only enforcement is to have a constructor without m mandatory arguments

public create(string $executable[, int|null $pid = null ]) : Process
Parameters
$executable : string
$pid : int|null = null
Return values
Process

executable()

public executable() : returns
Return values
returns

the executable

isRunning()

Checks if there are running processes of a certain class or with a given pid

public isRunning() : returns
Return values
returns

true if the Process is running

pid()

public pid() : returns
Return values
returns

the Process ID

run()

Starts the process and returns the pid

public run() : int
Return values
int

startDate()

public startDate() : int
Return values
int

returns the DateTime Object when the process was started


        
On this page

Search results