2020-07-25 15:51:57 +00:00
|
|
|
diff --git a/libqtile/core/manager.py b/libqtile/core/manager.py
|
|
|
|
index c22eeb6a..2ffe4eab 100644
|
|
|
|
--- a/libqtile/core/manager.py
|
|
|
|
+++ b/libqtile/core/manager.py
|
|
|
|
@@ -278,7 +278,7 @@ class Qtile(CommandObject):
|
2018-05-24 15:23:47 +00:00
|
|
|
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 15:23:47 +00: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
|
|
|
|
2020-07-25 15:51:57 +00:00
|
|
|
async def finalize(self):
|