PHP Class Prose\UsingHost

Inheritance: extends HostBase
Show file Open project: datasift/storyplayer Class Usage Examples

Public Methods

Method Description
runCommand ( $command )
runCommandAndIgnoreErrors ( $command )
runCommandAsUser ( $command, $user )
runCommandAsUserAndIgnoreErrors ( $command, $user )
startInScreen ( $sessionName, $commandLine )
stopAllScreens ( )
stopInScreen ( $sessionName )
stopProcess ( $pid, $grace = 5 )
uploadFile ( $sourceFilename, $destFilename )

Method Details

runCommand() public method

public runCommand ( $command )

runCommandAndIgnoreErrors() public method

public runCommandAndIgnoreErrors ( $command )

runCommandAsUser() public method

public runCommandAsUser ( $command, $user )

runCommandAsUserAndIgnoreErrors() public method

public runCommandAsUserAndIgnoreErrors ( $command, $user )

startInScreen() public method

public startInScreen ( $sessionName, $commandLine )

stopAllScreens() public method

public stopAllScreens ( )

stopInScreen() public method

public stopInScreen ( $sessionName )

stopProcess() public method

public stopProcess ( $pid, $grace = 5 )

uploadFile() public method

public uploadFile ( $sourceFilename, $destFilename )