From ecfa380924464424252a1c365ed0ba8b85bff49c Mon Sep 17 00:00:00 2001 From: liubigli Date: Mon, 3 Apr 2017 12:09:51 +0200 Subject: [PATCH] Added a space before stdout redirection at browserstack-local call. In this way it is possible to add custom parameters to the call --- lib/Local.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Local.php b/lib/Local.php index 69a9973..8be4b8a 100644 --- a/lib/Local.php +++ b/lib/Local.php @@ -118,7 +118,7 @@ public function start($arguments) { system('echo "" > '. '$this->logfile'); else system("echo \"\" > '$this->logfile' "); - $call = $call . "2>&1"; + $call = $call . " 2>&1"; $return_message = shell_exec($call); $data = json_decode($return_message,true); if ($data["state"] != "connected") {