dépôts
/
lhc
/
web
/
wiklou.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge "Hard deprecate UtfNormalUtil"
[lhc/web/wiklou.git]
/
includes
/
shell
/
Shell.php
diff --git
a/includes/shell/Shell.php
b/includes/shell/Shell.php
index
05463db
..
d57bf4f
100644
(file)
--- a/
includes/shell/Shell.php
+++ b/
includes/shell/Shell.php
@@
-31,6
+31,7
@@
use MediaWiki\MediaWikiServices;
*
* Use call chaining with this class for expressiveness:
* $result = Shell::command( 'some command' )
*
* Use call chaining with this class for expressiveness:
* $result = Shell::command( 'some command' )
+ * ->input( 'foo' )
* ->environment( [ 'ENVIRONMENT_VARIABLE' => 'VALUE' ] )
* ->limits( [ 'time' => 300 ] )
* ->execute();
* ->environment( [ 'ENVIRONMENT_VARIABLE' => 'VALUE' ] )
* ->limits( [ 'time' => 300 ] )
* ->execute();