On 2020-07-14, Hiltjo Posthuma wrote:
> The below patch adds an -f flag to force fork(2)ing and creating a new
> process.
Thanks, I applied the patch.
Though I wonder, is Linux the only operating system that typically has
setsid(1)? It doesn't look like it is available on BSDs. It's such a
On Tue, Jul 14, 2020 at 10:15:43AM +0200, Hiltjo Posthuma wrote:
> Hi,
>
> The below patch adds an -f flag to force fork(2)ing and creating a new
> process.
>
>
> From a75ef384c11b64732dd6a3adc9249ba6beb8a67e Mon Sep 17 00:00:00 2001
> From: Hiltjo Posthuma
> Date: Tue, 14 Jul 2020 10:11:43
On Tue, Jul 14, 2020 at 12:15:20PM +0200, Mattias Andrée wrote:
> Hi,
>
> Is there any reason you would want to force it?
>
>
Yes, when getpgrp() != getpid().
I use this in my plumb script for my news program to setsid -f and open a link
my browser. Using the setsid -f option the browser is
Hi,
Is there any reason you would want to force it?
Regards,
Mattias Andrée
On Tue, 14 Jul 2020 10:15:43 +0200
Hiltjo Posthuma wrote:
> Hi,
>
> The below patch adds an -f flag to force fork(2)ing and creating a new
> process.
>
>
> From a75ef384c11b64732dd6a3adc9249ba6beb8a67e Mon Sep
Hi,
The below patch adds an -f flag to force fork(2)ing and creating a new process.
>From a75ef384c11b64732dd6a3adc9249ba6beb8a67e Mon Sep 17 00:00:00 2001
From: Hiltjo Posthuma
Date: Tue, 14 Jul 2020 10:11:43 +0200
Subject: [PATCH] setsid: add optional -f to force fork()
---
setsid.1 | 3