$OpenBSD: patch-src_GNS3_QemuManager_py,v 1.3 2012/08/13 14:18:15 gsoares Exp $
--- src/GNS3/QemuManager.py.orig	Fri Jul 13 00:23:30 2012
+++ src/GNS3/QemuManager.py	Fri Aug 10 16:44:14 2012
@@ -127,7 +127,7 @@ class QemuManager(object):
         if sys.platform.startswith('win') and (globals.GApp.systconf['qemu'].qemuwrapper_path.split('.')[-1] == 'exe'):
             self.proc.start('"' + globals.GApp.systconf['qemu'].qemuwrapper_path + '"', ['--listen', binding, '--port', str(self.port), '--no-path-check'])
         elif hasattr(sys, "frozen"):
-            self.proc.start('python',  [globals.GApp.systconf['qemu'].qemuwrapper_path, '--listen', binding, '--port', str(self.port), '--no-path-check'])
+            self.proc.start('${MODPY_BIN}',  [globals.GApp.systconf['qemu'].qemuwrapper_path, '--listen', binding, '--port', str(self.port), '--no-path-check'])
         else:
             self.proc.start(sys.executable,  [globals.GApp.systconf['qemu'].qemuwrapper_path, '--listen', binding, '--port', str(self.port), '--no-path-check'])
 
@@ -178,7 +178,7 @@ class QemuManager(object):
             # On Windows hosts, we remove python dependency by pre-compiling Qemuwrapper. (release mode)
             proc.start('"' + globals.GApp.systconf['qemu'].qemuwrapper_path + '"', ['--listen', binding, '--no-path-check'])
         elif hasattr(sys, "frozen"):
-            proc.start('python',  [globals.GApp.systconf['qemu'].qemuwrapper_path, '--listen', binding, '--no-path-check'])
+            proc.start('${MODPY_BIN}',  [globals.GApp.systconf['qemu'].qemuwrapper_path, '--listen', binding, '--no-path-check'])
         else:
             proc.start(sys.executable,  [globals.GApp.systconf['qemu'].qemuwrapper_path, '--listen', binding, '--no-path-check'])
 
