Hoa central
Protected Member Functions | List of all members
Hoa\Test\Bin\Processus Class Reference
Inheritance diagram for Hoa\Test\Bin\Processus:

Protected Member Functions

 setCommand ($command)
 
- Protected Member Functions inherited from Hoa\Console\Processus
_open ($streamName, Stream\Context $context=null)
 
 _close ()
 
 getPipe ($pipe)
 
 isPipeSeekable ($pipe)
 
 setCommand ($command)
 
 setOptions (Array $options)
 
 setCwd ($cwd)
 
 setEnvironment (Array $environment)
 
- Protected Member Functions inherited from Hoa\Stream\Stream
_open ($streamName, Context $context=null)
 
 _close ()
 
 getStream ()
 

Additional Inherited Members

- Public Member Functions inherited from Hoa\Console\Processus
 __construct ($command, Array $options=null, Array $descriptors=null, $cwd=null, Array $environment=null, $timeout=30)
 
 run ()
 
 eof ($pipe=1)
 
 read ($length, $pipe=1)
 
 readString ($length, $pipe=1)
 
 readCharacter ($pipe=1)
 
 readBoolean ($pipe=1)
 
 readInteger ($length=1, $pipe=1)
 
 readFloat ($length=1, $pipe=1)
 
 readArray ($format=null, $pipe=1)
 
 readLine ($pipe=1)
 
 readAll ($offset=-1, $pipe=1)
 
 scanf ($format, $pipe=1)
 
 write ($string, $length, $pipe=0)
 
 writeString ($string, $pipe=0)
 
 writeCharacter ($char, $pipe=0)
 
 writeBoolean ($boolean, $pipe=0)
 
 writeInteger ($integer, $pipe=0)
 
 writeFloat ($float, $pipe=0)
 
 writeArray (Array $array, $pipe=0)
 
 writeLine ($line, $pipe=0)
 
 writeAll ($string, $pipe=0)
 
 truncate ($size, $pipe=0)
 
 getBasename ()
 
 getDirname ()
 
 getStatus ()
 
 getExitCode ()
 
 isSuccessful ()
 
 terminate ($signal=self::SIGTERM)
 
 getCommand ()
 
 getOptions ()
 
 getCommandLine ()
 
 getCwd ()
 
 getEnvironment ()
 
 setTimeout ($timeout)
 
 getTimeout ()
 
- Public Member Functions inherited from Hoa\Stream\Stream
 __construct ($streamName, $context=null, $wait=false)
 
 open ()
 
 close ()
 
 getStreamName ()
 
 getStreamContext ()
 
 _setStream ($stream)
 
 isOpened ()
 
 setStreamTimeout ($seconds, $microseconds=0)
 
 setStreamBlocking ($mode)
 
 setStreamBuffer ($buffer)
 
 disableStreamBuffer ()
 
 getStreamBufferSize ()
 
 getStreamWrapperName ()
 
 getStreamMetaData ()
 
 isBorrowing ()
 
 on ($listenerId, $callable)
 
 _notify ($ncode, $severity, $message, $code, $transferred, $max)
 
 __toString ()
 
 __destruct ()
 
- Public Member Functions inherited from Hoa\Stream\IStream\In
 eof ()
 
 read ($length)
 
 readString ($length)
 
 readCharacter ()
 
 readBoolean ()
 
 readInteger ($length=1)
 
 readFloat ($length=1)
 
 readArray ($argument=null)
 
 readLine ()
 
 readAll ($offset=0)
 
 scanf ($format)
 
- Public Member Functions inherited from Hoa\Stream\IStream\Out
 write ($string, $length)
 
 writeString ($string)
 
 writeCharacter ($character)
 
 writeBoolean ($boolean)
 
 writeInteger ($integer)
 
 writeFloat ($float)
 
 writeArray (Array $array)
 
 writeLine ($line)
 
 writeAll ($string)
 
 truncate ($size)
 
- Static Public Member Functions inherited from Hoa\Console\Processus
static setTitle ($title)
 
static getTitle ()
 
static locate ($binary)
 
static execute ($commandLine, $escape=true)
 
- Static Public Member Functions inherited from Hoa\Stream\Stream
static getStreamHandler ($streamName)
 
static _Hoa_Stream ()
 
- Public Attributes inherited from Hoa\Console\Processus
const SIGHUP = 1
 
const SIGINT = 2
 
const SIGQUIT = 3
 
const SIGILL = 4
 
const SIGTRAP = 5
 
const SIGABRT = 6
 
const SIGEMT = 7
 
const SIGFPE = 8
 
const SIGKILL = 9
 
const SIGBUS = 10
 
const SIGSEGV = 11
 
const SIGSYS = 12
 
const SIGPIPE = 13
 
const SIGALRM = 14
 
const SIGTERM = 15
 
const SIGURG = 16
 
const SIGSTOP = 17
 
const SIGTSTP = 18
 
const SIGCONT = 19
 
const SIGCHLD = 20
 
const SIGTTIN = 21
 
const SIGTTOU = 22
 
const SIGIO = 23
 
const SIGXCPU = 24
 
const SIGXFSZ = 25
 
const SIGVTALRM = 26
 
const SIGPROF = 27
 
const SIGWINCH = 28
 
const SIGINFO = 29
 
const SIGUSR1 = 30
 
const SIGUSR2 = 31
 
- Public Attributes inherited from Hoa\Stream\Stream
const NAME = 0
 
const HANDLER = 1
 
const RESOURCE = 2
 
const CONTEXT = 3
 
- Protected Attributes inherited from Hoa\Console\Processus
 $_command = null
 
 $_options = []
 
 $_cwd = null
 
 $_environment = null
 
 $_timeout = 30
 
 $_descriptors
 
 $_pipes = null
 
 $_seekable = []
 
- Protected Attributes inherited from Hoa\Stream\Stream
 $_bucket = []
 
 $_bufferSize = 8192
 
 $_streamName = null
 
 $_context = null
 
 $_hasBeenDiffered = false
 
 $_on = null
 
 $_borrowed = false
 

Detailed Description

Definition at line 342 of file Run.php.

Member Function Documentation

Hoa\Test\Bin\Processus::setCommand (   $command)
protected

Avoid to escape the command.

Parameters
string$commandCommand name.
Returns
string

Definition at line 350 of file Run.php.

351  {
352  $old = $this->getCommand();
353  $this->_command = $command;
354 
355  return $old;
356  }

Here is the call graph for this function:


The documentation for this class was generated from the following file: