Sfoglia il codice sorgente

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 anni fa
parent
commit
4739552a7d
1 ha cambiato i file con 2 aggiunte e 2 eliminazioni
  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