Page MenuHomePhabricator

Command::execute() makes reference to getOutput() which doesn't seem to exist
Open, Needs TriagePublic

Description

	/**
	 * Executes command. Afterwards, getExitCode() and getOutput() can be used to access execution
	 * results.
	 *
	 * @return UnboxedResult
	 * @throws Exception
	 */
	public function execute(): UnboxedResult {

https://github.com/search?q=repo%3Awikimedia%2Fmediawiki-libs-Shellbox+getExitCode&type=code exists, but https://github.com/search?q=repo%3Awikimedia%2Fmediawiki-libs-Shellbox%20getOutput&type=code doesn't.

Is getOutput() supposed to be getStdout() and/or getStderr()?