|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #75497 cli_get_process_title/cli_set_process_title fail to get/set process title
Submitted: 2017-11-07 15:25 UTC Modified: -
Avg. Score:4.2 ± 0.8
Reproduced:3 of 3 (100.0%)
Same Version:1 (33.3%)
Same OS:2 (66.7%)
From: boukevanderbijl at gmail dot com Assigned:
Status: Open Package: *General Issues
PHP Version: master-Git-2017-11-07 (Git) OS: macOS 10.13.1 (17B48)
Private report: No CVE-ID: None
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please — but make sure to vote on the bug!
Your email address:
Solve the problem:
33 + 36 = ?
Subscribe to this entry?

 [2017-11-07 15:25 UTC] boukevanderbijl at gmail dot com
It seems the latest version (10.13) of macOS has broken the capability to get and set process titles. Using cli_get/set_process_title results in a warning. The way to fix this would be to use the OS-provided methods, which libuv from the nodejs project has implemented in and

Test script:
echo cli_get_process_title();

Expected result:

Actual result:
Warning: cli_set_process_title(): cli_set_process_title had an error: Not initialized correctly in - on line 2

Call Stack:
    0.0002     366472   1. {main}() -:0
    0.0002     366472   2. cli_set_process_title() -:2

Warning: cli_get_process_title(): cli_get_process_title had an error: Not initialized correctly in - on line 3

Call Stack:
    0.0002     366472   1. {main}() -:0
    0.0004     366656   2. cli_get_process_title() -:3


Add a Patch

Pull Requests

Add a Pull Request

PHP Copyright © 2001-2023 The PHP Group
All rights reserved.
Last updated: Sat Jun 03 21:03:40 2023 UTC