mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Expand on the reason for no-forking on macOS
This commit is contained in:
parent
6c8c329d2e
commit
775a946ac3
@ -275,7 +275,9 @@ libraries that the main calibre program knows about will be used.
|
|||||||
' about clients connecting to the server and making requests. By'
|
' about clients connecting to the server and making requests. By'
|
||||||
' default no access logging is done.'))
|
' default no access logging is done.'))
|
||||||
if not iswindows and not isosx:
|
if not iswindows and not isosx:
|
||||||
# Does not work on OS X because we dont have a headless Qt backend
|
# Does not work on macOS because if we fork() we cannot connect to Core
|
||||||
|
# Serives which is needed by the QApplication() constructor, which in
|
||||||
|
# turn is needed by ensure_app()
|
||||||
parser.add_option('--daemonize', default=False, action='store_true',
|
parser.add_option('--daemonize', default=False, action='store_true',
|
||||||
help=_('Run process in background as a daemon.'))
|
help=_('Run process in background as a daemon.'))
|
||||||
parser.add_option('--pidfile', default=None,
|
parser.add_option('--pidfile', default=None,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user