Skip to content

proc_close: "waits", not "closes". Also grammar fix in Returns.#5482

Open
SinusPi wants to merge 2 commits intophp:masterfrom
SinusPi:patch-1
Open

proc_close: "waits", not "closes". Also grammar fix in Returns.#5482
SinusPi wants to merge 2 commits intophp:masterfrom
SinusPi:patch-1

Conversation

@SinusPi
Copy link
Copy Markdown

@SinusPi SinusPi commented Apr 7, 2026

The function waits (waitpid) for a process to terminate, it does not do any closing. The description is a little misleading.

The function waits (waitpid) for a process to terminate, it does not do any closing. The description is a little misleading.
Comment thread reference/exec/functions/proc-close.xml Outdated
Co-authored-by: Louis-Arnaud <la.catoire@gmail.com>
Copy link
Copy Markdown
Member

@jordikroon jordikroon left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

All good, just one small nit; when changing copy that is within a <para>. We should also change to <simpara>. See it as a change from <div> to <p>.

@@ -46,7 +46,7 @@
&reftitle.returnvalues;
<para>
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
<para>
<simpara>

Returns the termination status of the process that was run. In case of
an error then <literal>-1</literal> is returned.
an error <literal>-1</literal> is returned.
</para>
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
</para>
</simpara>

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants