We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 0ce23a6 + dd52713 commit 8fcb950Copy full SHA for 8fcb950
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