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

Re: [Linux-31] Détacher un processus depuis un terminal



----- Mail original ----- 

> De: "peterpan31" <linux-31@culte.org>
> À: "Pascal Hambourg" <pascal@plouf.fr.eu.org>, linux-31@culte.org
> Envoyé: Lundi 29 Octobre 2018 00:40:34
> Objet: Re: [Linux-31] Détacher un processus depuis un terminal

> Bonsoir,

> Pardon pour le trouble causé...

> Un exemple :

> $ mousepad

> mousepad est un fils du shell s'exécutant dans un terminal, exact ?

> Donc si je tue le terminal (et donc le shell s'exécutant dedans) je
> flingue mousepad.

> Je veux que le processus "mousepad" demeure vivant même si le
> terminal est flingué).

> nohup fait cela mais ce n'est pas le plus approprié.

> merci

> pierre estrem

bonjour,

tu peut lancer mousepad dans un terminal sans soucis en utilisant
screen ou un autre multiplexeur de terminal ...

documentation :
https://doc.ubuntu-fr.org/screen
https://www.tropfacile.net/raspberry-pi/comment-utiliser-screen
http://maximiliend.fr/linux-utiliser-facilement-screen/
https://supersonique.net/administration/utilisation-de-screen/
https://www.devnotebook.fr/unixlinux/screen-multiplexeur-de-terminaux
https://fiat-tux.fr/tag/screen/
https://doc.ubuntu-fr.org/screen

alternative, passer à Tmux ou byobu:

https://wiki.deimos.fr/Tmux_:_le_multiplexeur_de_terminal_rempla%C3%A7ant_de_screen
https://doc.ubuntu-fr.org/byobu

merci
slt
bernard