2015-12-01 11:46:18 +00:00
|
|
|
diff --git a/libqtile/manager.py b/libqtile/manager.py
|
2018-01-31 18:58:52 +00:00
|
|
|
index 36518a74..9b6bdd02 100644
|
2015-12-01 11:46:18 +00:00
|
|
|
--- a/libqtile/manager.py
|
|
|
|
+++ b/libqtile/manager.py
|
2018-01-31 18:58:52 +00:00
|
|
|
@@ -1386,7 +1386,7 @@ class Qtile(command.CommandObject):
|
2015-12-01 11:46:18 +00:00
|
|
|
argv = [s for s in argv if not s.startswith('--with-state')]
|
|
|
|
argv.append('--with-state=' + buf.getvalue().decode())
|
|
|
|
|
|
|
|
- self.cmd_execute(sys.executable, argv)
|
|
|
|
+ self.cmd_execute(os.environ.get("QTILE_WRAPPER", "@out@/bin/qtile"), argv[1:])
|
|
|
|
|
|
|
|
def cmd_spawn(self, cmd):
|
2018-01-31 18:58:52 +00:00
|
|
|
"""Run cmd in a shell.
|