We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 62eb08e commit dd52713Copy full SHA for dd52713
2 files changed
src/mcp/os/win32/utilities.py
@@ -123,6 +123,11 @@ def pid(self) -> int:
123
"""Return the process ID."""
124
return self.popen.pid
125
126
+ @property
127
+ def returncode(self) -> int | None:
128
+ """Return the exit code, or ``None`` if the process has not yet terminated."""
129
+ return self.popen.returncode
130
+
131
132
# ------------------------
133
# Updated function
0 commit comments