X-Git-Url: http://www.aleph1.co.uk/gitweb/?p=yaffs-website;a=blobdiff_plain;f=vendor%2Fdrupal%2Fconsole-core%2Fsrc%2FUtils%2FShellProcess.php;fp=vendor%2Fdrupal%2Fconsole-core%2Fsrc%2FUtils%2FShellProcess.php;h=43f57d78350bd445c959131001d22b1524f34678;hp=acb91ed5530e1dabd3305fce299b70affc17abcc;hb=9917807b03b64faf00f6a1f29dcb6eafc454efa5;hpb=aea91e65e895364e460983b890e295aa5d5540a5 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