mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Disable forking of GUI in linux.
This commit is contained in:
parent
6ece3eb10b
commit
d78296e8bd
@ -1223,7 +1223,7 @@ class Main(MainWindow, Ui_MainWindow):
|
|||||||
def main(args=sys.argv):
|
def main(args=sys.argv):
|
||||||
from calibre import singleinstance
|
from calibre import singleinstance
|
||||||
|
|
||||||
pid = os.fork() if islinux else -1
|
pid = os.fork() if False and islinux else -1
|
||||||
if pid <= 0:
|
if pid <= 0:
|
||||||
parser = option_parser('''\
|
parser = option_parser('''\
|
||||||
%prog [opts] [path_to_ebook]
|
%prog [opts] [path_to_ebook]
|
||||||
|
Loading…
x
Reference in New Issue
Block a user