From f18b70ddbc236d11bfc0a1922ab2d6a6d53a3381 Mon Sep 17 00:00:00 2001 From: Jim Garlick Date: Tue, 28 May 2024 10:53:23 -0700 Subject: [PATCH] rfc42: exec.write should use matchtag not pid 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. --- spec_42.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/spec_42.rst b/spec_42.rst index c8dc337..88e444a 100644 --- a/spec_42.rst +++ b/spec_42.rst @@ -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