rfc:cli_process_title
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
rfc:cli_process_title [2013/02/07 19:53] – [Introduction] keyur | rfc:cli_process_title [2013/02/19 06:09] – Removing reference to 5.4 keyur | ||
---|---|---|---|
Line 1: | Line 1: | ||
====== Request for Comments: PHP CLI changing process title support ====== | ====== Request for Comments: PHP CLI changing process title support ====== | ||
- | * Version: 1.0 | + | * Version: 1.1 |
* Date: 2013-02-06 | * Date: 2013-02-06 | ||
* Author: Keyur Govande < | * Author: Keyur Govande < | ||
Line 39: | Line 39: | ||
$title = "This is a test title"; | $title = "This is a test title"; | ||
- | if (!is_cli_ps_title_available()) { | + | if (!cli_set_process_title($title)) { |
- | echo "Not supported on this OS\n"; | + | echo "Unable to set title\n"; |
exit(1); | exit(1); | ||
- | } | ||
- | |||
- | if (!set_cli_ps_title($title)) { | ||
- | echo " | ||
- | exit(2); | ||
} | } | ||
Line 57: | Line 52: | ||
* FreeBSD 9.0: {{: | * FreeBSD 9.0: {{: | ||
* Windows 7: {{: | * Windows 7: {{: | ||
+ | * OS X Lion: {{: | ||
===== Patch ===== | ===== Patch ===== | ||
- | The patch (including tests) based off of 5.4.11 is [[https://gist.github.com/keyurdg/4728770# | + | The pull request |
===== Voting ===== | ===== Voting ===== | ||
The PHP language is not changed, so a 50% + 1 majority is required. | The PHP language is not changed, so a 50% + 1 majority is required. | ||
+ | |||
+ | Voting ends March 4th, 2013. | ||
+ | |||
+ | <doodle title=" | ||
+ | * Yes | ||
+ | * No | ||
+ | </ | ||
===== Changelog ===== | ===== Changelog ===== | ||
* 1.0 (2012-02-06): | * 1.0 (2012-02-06): | ||
+ | * 1.1 (2012-02-07): |
rfc/cli_process_title.txt · Last modified: 2017/09/22 13:28 by 127.0.0.1