X-Git-Url: http://aleph1.co.uk/gitweb/?a=blobdiff_plain;f=vendor%2Fdrupal%2Fconsole-core%2Fsrc%2FUtils%2FShellProcess.php;h=43f57d78350bd445c959131001d22b1524f34678;hb=4e1bfbf98b844da83b18aca92ef00f11a4735806;hp=acb91ed5530e1dabd3305fce299b70affc17abcc;hpb=a2bd1bf0c2c1f1a17d188f4dc0726a45494cefae;p=yaffs-website diff --git a/vendor/drupal/console-core/src/Utils/ShellProcess.php b/vendor/drupal/console-core/src/Utils/ShellProcess.php index acb91ed55..43f57d783 100644 --- a/vendor/drupal/console-core/src/Utils/ShellProcess.php +++ b/vendor/drupal/console-core/src/Utils/ShellProcess.php @@ -64,12 +64,14 @@ class ShellProcess $workingDirectory = $this->appRoot; } - $this->io->newLine(); - $this->io->comment( - $this->translator->trans('commands.exec.messages.working-directory') .': ', - false - ); - $this->io->writeln($workingDirectory); + if (realpath($workingDirectory)) { + $this->io->comment( + $this->translator->trans('commands.exec.messages.working-directory') .': ', + false + ); + $this->io->writeln(realpath($workingDirectory)); + } + $this->io->comment( $this->translator->trans('commands.exec.messages.executing-command') .': ', false