From 870e4e5740817bc8e8f8487e867221f51ed19d54 Mon Sep 17 00:00:00 2001 From: Thomas White Date: Mon, 10 Aug 2020 14:15:55 +0200 Subject: indexamajig: Do not set pgid Bad idea. Prevents Ctrl-C from working at a normal terminal. The GUI will have to find another way to kill indexamajig properly. This reverts c03df15d71cf443f44a438f6d9dd99ab8259bcd5. --- src/im-sandbox.c | 3 --- 1 file changed, 3 deletions(-) (limited to 'src') diff --git a/src/im-sandbox.c b/src/im-sandbox.c index d03a1f87..32c4fc13 100644 --- a/src/im-sandbox.c +++ b/src/im-sandbox.c @@ -998,9 +998,6 @@ int create_sandbox(struct index_args *iargs, int n_proc, char *prefix, return 0; } - setsid(); - setpgid(0, 0); - sb->n_processed_last_stats = 0; sb->t_last_stats = get_monotonic_seconds(); sb->n_proc = n_proc; -- cgit v1.2.3