Browse Source

Corrected the documentation for getProcessInfo()

The value for the 'stop' is only 0 when the process has never been stopped. If the process has been restarted and is now running, the value will be the last time the process restarted.
Sam Clements 11 năm trước cách đây
mục cha
commit
4739552a7d
1 tập tin đã thay đổi với 2 bổ sung2 xóa
  1. 2 2
      docs/api.rst

+ 2 - 2
docs/api.rst

@@ -247,8 +247,8 @@ Process Control
 
         .. describe:: stop
 
-            UNIX timestamp of when the process ended, or 0 if the process is
-            still running.
+            UNIX timestamp of when the process last ended, or 0 if the process
+            has never been stopped.
 
         .. describe:: now