Comment 28 for bug 1360200

Revision history for this message
Walter de Wilde (wdewilde-1) wrote : Re: [Bug 1360200] Re: 2.0 installs but crashes on startup

Both do not crash.

On 08/23/2014 06:03 PM, Kovid Goyal wrote:
> Ok first step is to run:
>
> 1) calibre-debug -c "from calibre.gui2 import detach_gui; detach_gui();
> from calibre.gui2.main import main; main()"
>
> This should crash in exactly the same way as calibre --detach
>
> 2) Then run
>
> calibre-debug -c "import os; os.fork() != 0 and sys.exit(0);
> os.setsid(); from calibre.gui2.main import main; main()"
>
> This does exactly the same thing as detach, except it does not redirect
> stdout and stderr. Does it crash? And if so, what is the output in the
> terminal?
>