|
|
|
@ -78,6 +78,7 @@ class ProcessExecutor
|
|
|
|
|
public function executeTty($command, $cwd = null)
|
|
|
|
|
{
|
|
|
|
|
if (
|
|
|
|
|
/* @see \Composer\Console\Application::doRun - tty test */
|
|
|
|
|
(function_exists('stream_isatty') && !stream_isatty(STDOUT))
|
|
|
|
|
|| (function_exists('posix_isatty') && !posix_isatty(STDOUT))
|
|
|
|
|
) {
|
|
|
|
|