瀏覽代碼

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 年之前
父節點
當前提交
4739552a7d
共有 1 個文件被更改,包括 2 次插入2 次删除
  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