help-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

despite disown -h, process ends with terminal


From: watael rocketmail
Subject: despite disown -h, process ends with terminal
Date: Mon, 22 May 2023 01:59:50 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.11.0

hi,

i'm trying to keep process running after script kills xterm like this:

#!/bin/bash

firefox & disown -h $!
kill -9 $PPID

but when xterm terminates, firefox terminates too.

what do I do wrong ?

reply via email to

[Prev in Thread] Current Thread [Next in Thread]