$OpenBSD: patch-src_GNS3_QemuManager_py,v 1.4 2014/06/27 06:19:43 ajacoutot Exp $
--- src/GNS3/QemuManager.py.orig	Wed Oct 23 04:57:46 2013
+++ src/GNS3/QemuManager.py	Fri Jun 27 08:04:56 2014
@@ -126,7 +126,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'])
 
@@ -175,7 +175,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'])
 
