Przeglądaj źródła

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 lat temu
rodzic
commit
4739552a7d
1 zmienionych plików z 2 dodań i 2 usunięć
  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