Skip to content

Commit

Permalink
Update ExecuteService.php
Browse files Browse the repository at this point in the history
  • Loading branch information
davidwindell authored Oct 7, 2017
1 parent 2d7c545 commit bd575f6
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/Edge/Service/ExecuteService.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,8 @@ class ExecuteService

public function __construct($command)
{
$this->command = realpath($command);
$realpath = realpath($command);
$this->command = $realpath ? $realpath : $command;
}

/**
Expand Down

0 comments on commit bd575f6

Please sign in to comment.