We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents feb81cf + 054194f commit 079aebbCopy full SHA for 079aebb
src/borg/cockpit/runner.py
@@ -28,7 +28,10 @@ async def start(self):
28
self.logger.warning("Borg process already running.")
29
return
30
31
- cmd = [sys.executable, "-m", "borg"] + self.command
+ if getattr(sys, "frozen", False):
32
+ cmd = [sys.executable] + self.command # executable == pyinstaller binary
33
+ else:
34
+ cmd = [sys.executable, "-m", "borg"] + self.command # executable == python interpreter
35
36
self.logger.info(f"Starting Borg process: {cmd}")
37
0 commit comments