Don't duplicate program name in argv

This commit is contained in:
Dan Williams 2007-04-29 17:55:52 -04:00
parent b4f2016844
commit 0148f13ed6

View File

@ -24,7 +24,7 @@ from sugar.presence import presenceservice
import mockps
def start_ps():
argv = ["mockps.py", "mockps.py"]
argv = ["mockps.py"]
(pid, stdin, stdout, stderr) = gobject.spawn_async(argv, flags=gobject.SPAWN_LEAVE_DESCRIPTORS_OPEN)
# Wait until it shows up on the bus