Skip to content

Commit 79fb4aa

Browse files
author
Cully Larson
committed
ICommand now has an exec function.
1 parent 1beef5b commit 79fb4aa

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

src/Cully/ICommand.php

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,13 @@
33
namespace Cully;
44

55
interface ICommand {
6+
/**
7+
* @param string $command
8+
* @param string|null $cwd The working directory in which to execute the command
9+
* @param array $env Any environment variables to set
10+
* @return void
11+
*/
12+
public function exec($command, $cwd=null, array $env=[]);
613
/**
714
* @return bool
815
*/

0 commit comments

Comments
 (0)