From bd575f6683c6def001e98f83fb9e571170d289aa Mon Sep 17 00:00:00 2001 From: David Windell Date: Sat, 7 Oct 2017 02:41:22 +0100 Subject: [PATCH] Update ExecuteService.php --- src/Edge/Service/ExecuteService.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/Edge/Service/ExecuteService.php b/src/Edge/Service/ExecuteService.php index 8d30454..9b55e24 100644 --- a/src/Edge/Service/ExecuteService.php +++ b/src/Edge/Service/ExecuteService.php @@ -8,7 +8,8 @@ class ExecuteService public function __construct($command) { - $this->command = realpath($command); + $realpath = realpath($command); + $this->command = $realpath ? $realpath : $command; } /**