Skip to content

Commit fc340cc

Browse files
committed
fix readme
1 parent 73e1947 commit fc340cc

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

README.rst

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -28,19 +28,16 @@ Listing all launchd jobs:
2828
.. code-block:: python
2929
3030
for job in launchd.jobs():
31-
print(job.label, job.pid, job.laststatus, job.properties, job.plistfilename)
31+
print(job.label, job.pid, job.properties, job.plistfilename)
3232
3333
34-
Find the pid and laststatus of a job:
34+
Find the pid of a job:
3535

3636
.. code-block:: python
3737
3838
>>> launchd.LaunchdJob("com.apple.Finder").pid
3939
278
4040
41-
>>> launchd.LaunchdJob("com.apple.Finder").laststatus
42-
0
43-
4441
>>> launchd.LaunchdJob("com.example.fubar").pid
4542
Traceback (most recent call last):
4643
File "launchd/launchctl.py", line 78, in refresh

0 commit comments

Comments
 (0)