Skip to content

Commit

Permalink
rfc42: exec.write should use matchtag not pid
Browse files Browse the repository at this point in the history
Problem: requiring the PID as a parameter to write complicates
client code which must support writing/closing a stream before the
started response has been received.

Use the exec request matchtag instead.
  • Loading branch information
garlick committed Jun 6, 2024
1 parent 708029e commit f18b70d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions spec_42.rst
Original file line number Diff line number Diff line change
Expand Up @@ -205,9 +205,9 @@ specified in the exec request command object.

The request SHALL consist of a JSON object with the following keys:

.. object:: pid
.. object:: matchtag

(*integer*, REQUIRED) The process ID of the remote process.
(*integer*, REQUIRED) The matchtag of the :program:`exec` request.

.. object:: io

Expand Down

0 comments on commit f18b70d

Please sign in to comment.