Skip to content

Commit 216f885

Browse files
committed
use exec
1 parent e088bf3 commit 216f885

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/Local.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ public function stop() {
132132
}
133133

134134
public function command() {
135-
$command = "$this->binary_path -logFile $this->logfile $this->folder_flag $this->key $this->folder_path $this->force_local_flag $this->local_identifier_flag $this->only_flag $this->only_automate_flag $this->proxy_host $this->proxy_port $this->proxy_user $this->proxy_pass $this->force_flag $this->verbose_flag $this->hosts";
135+
$command = "exec $this->binary_path -logFile $this->logfile $this->folder_flag $this->key $this->folder_path $this->force_local_flag $this->local_identifier_flag $this->only_flag $this->only_automate_flag $this->proxy_host $this->proxy_port $this->proxy_user $this->proxy_pass $this->force_flag $this->verbose_flag $this->hosts";
136136
$command = preg_replace('/\s+/S', " ", $command);
137137
return $command;
138138
}

0 commit comments

Comments
 (0)