diff --git a/config/dist/chain/quick-start.yml b/config/dist/chain/quick-start.yml index f694452..4097a67 100644 --- a/config/dist/chain/quick-start.yml +++ b/config/dist/chain/quick-start.yml @@ -17,7 +17,7 @@ commands: - command: exec arguments: bin: drupal site:install %{{profile}} --root=%{{directory}} --db-type="sqlite" --no-interaction - # Start PHP bult-in server + # Start PHP built-in server - command: exec arguments: bin: drupal server --root=%{{directory}} diff --git a/src/Utils/ShellProcess.php b/src/Utils/ShellProcess.php index acb91ed..43f57d7 100644 --- a/src/Utils/ShellProcess.php +++ b/src/Utils/ShellProcess.php @@ -64,12 +64,14 @@ public function exec($command, $workingDirectory=null) $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