Skip to content

Commit 70102f1

Browse files
committed
Add control for OS X and cli_set_process_title
1 parent e4cfc54 commit 70102f1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/Resque/Worker.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -327,7 +327,7 @@ private function startup()
327327
private function updateProcLine($status)
328328
{
329329
$processTitle = 'resque-' . Resque::VERSION . ': ' . $status;
330-
if(function_exists('cli_set_process_title')) {
330+
if(function_exists('cli_set_process_title') && PHP_OS !== 'Darwin') {
331331
cli_set_process_title($processTitle);
332332
}
333333
else if(function_exists('setproctitle')) {

0 commit comments

Comments
 (0)