1
0
mirror of https://github.com/gryf/wicd.git synced 2026-03-03 23:35:52 +01:00

committed patch to fix Python 2.7 support and use python2 instead of python to run monitor.py -- thanks to Archlinux and Rémy Oudompheng

This commit is contained in:
Adam Blackburn
2010-10-27 11:17:15 -05:00
parent e773b3b1f3
commit 194714c7e7
2 changed files with 21 additions and 14 deletions

View File

@@ -1806,7 +1806,7 @@ def main(argv):
wicd_bus = dbus.service.BusName('org.wicd.daemon', bus=bus)
daemon = WicdDaemon(wicd_bus, auto_connect=auto_connect)
if not no_poll:
child_pid = Popen([misc.find_path("python"), "-O",
child_pid = Popen([misc.find_path("python2"), "-O",
os.path.join(wpath.daemon, "monitor.py")],
shell=False, close_fds=True).pid
atexit.register(on_exit, child_pid)