$NetBSD: patch-src_bin_gnucash-bin.c,v 1.1 2014/04/21 21:40:01 wiz Exp $ Allow starting gnucash in the background. python's readline module causes a SIGTTOU to be sent and if this is not handled (even by ignoring it), it stops the process. --- src/bin/gnucash-bin.c.orig 2014-03-01 19:55:35.000000000 +0000 +++ src/bin/gnucash-bin.c @@ -22,6 +22,7 @@ */ #include "config.h" +#include #include #include #include @@ -566,6 +567,8 @@ inner_main (void *closure, int argc, cha char* fn; GError *error = NULL; + signal(SIGTTOU, SIG_IGN); + scm_c_eval_string("(debug-set! stack 200000)"); main_mod = scm_c_resolve_module("gnucash main");