2015-12-01 11:46:18 +00:00
|
|
|
diff --git a/libqtile/manager.py b/libqtile/manager.py
|
2018-05-24 16:23:47 +01:00
|
|
|
index fc198e9bae7..860b97d8db1 100644
|
2015-12-01 11:46:18 +00:00
|
|
|
--- a/libqtile/manager.py
|
|
|
|
+++ b/libqtile/manager.py
|
2018-05-24 16:23:47 +01:00
|
|
|
@@ -1402,7 +1402,7 @@ class Qtile(command.CommandObject):
|
|
|
|
logger.error("Unable to pickle qtile state")
|
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())
|
2018-05-24 16:23:47 +01:00
|
|
|
- self._restart = (sys.executable, argv)
|
|
|
|
+ self._restart = (os.environ.get("QTILE_WRAPPER", "@out@/bin/qtile"), argv[1:])
|
|
|
|
self.stop()
|
2015-12-01 11:46:18 +00:00
|
|
|
|
|
|
|
def cmd_spawn(self, cmd):
|