@@ -91,7 +91,7 @@ discard block |
||
| 91 | 91 | public function isRunning() |
| 92 | 92 | { |
| 93 | 93 | $this->checkSupportingOS('Cocur\BackgroundProcess can only check if a process is running on *nix-based '. |
| 94 | - 'systems, such as Unix, Linux or Mac OS X. You are running "%s".'); |
|
| 94 | + 'systems, such as Unix, Linux or Mac OS X. You are running "%s".'); |
|
| 95 | 95 | |
| 96 | 96 | try { |
| 97 | 97 | $result = shell_exec("ps -ef | awk '{print $1}'"); |
@@ -113,7 +113,7 @@ discard block |
||
| 113 | 113 | public function stop() |
| 114 | 114 | { |
| 115 | 115 | $this->checkSupportingOS('Cocur\BackgroundProcess can only stop a process on *nix-based systems, such as '. |
| 116 | - 'Unix, Linux or Mac OS X. You are running "%s".'); |
|
| 116 | + 'Unix, Linux or Mac OS X. You are running "%s".'); |
|
| 117 | 117 | |
| 118 | 118 | try { |
| 119 | 119 | $result = shell_exec(sprintf('kill %d 2>&1', $this->pid)); |
@@ -134,7 +134,7 @@ discard block |
||
| 134 | 134 | public function getPid() |
| 135 | 135 | { |
| 136 | 136 | $this->checkSupportingOS('Cocur\BackgroundProcess can only return the PID of a process on *nix-based systems, '. |
| 137 | - 'such as Unix, Linux or Mac OS X. You are running "%s".'); |
|
| 137 | + 'such as Unix, Linux or Mac OS X. You are running "%s".'); |
|
| 138 | 138 | |
| 139 | 139 | return $this->pid; |
| 140 | 140 | } |