PHP Class Prose\UsingHost

Inheritance: extends HostBase
Afficher le fichier Open project: datasift/storyplayer Class Usage Examples

Méthodes publiques

Méthode 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 méthode

public runCommand ( $command )

runCommandAndIgnoreErrors() public méthode

public runCommandAndIgnoreErrors ( $command )

runCommandAsUser() public méthode

public runCommandAsUser ( $command, $user )

runCommandAsUserAndIgnoreErrors() public méthode

public runCommandAsUserAndIgnoreErrors ( $command, $user )

startInScreen() public méthode

public startInScreen ( $sessionName, $commandLine )

stopAllScreens() public méthode

public stopAllScreens ( )

stopInScreen() public méthode

public stopInScreen ( $sessionName )

stopProcess() public méthode

public stopProcess ( $pid, $grace = 5 )

uploadFile() public méthode

public uploadFile ( $sourceFilename, $destFilename )