cypress-8.x-1.x-dev/src/ProcessManagerInterface.php
src/ProcessManagerInterface.php
<?php
namespace Drupal\cypress;
/**
* Interface for a service executing shell commands.
*/
interface ProcessManagerInterface {
/**
* Execute a command in a given environment.
*
* Output is as a side effect and is not part of this interface.
*
* @param array $commandLine
* The command line as list of words.
* @param string|null $workingDirectory
* The directory to execute the command in.
* @param array $environment
* A set of environment overrides.
*
* @return void
*/
public function run($commandLine, $workingDirectory, $environment = []);
}
