• # pas a ma connaissance ...

    Posté par . En réponse au message Peut-on transferer un processus?. Évalué à 2.

    A moins d'utiliser nohup (je ne parle pas des demons qui eux ne sont lies a aucun terminal), un processus lancé sur un terminal donné s'arrêtrea des que le terminal en question s'arretera.

    Il y a peut être un moyen d'exécuter sous X un processus dans une autre fenetre (voir les options de XTERM ou de ton terminal préféré)

    Ce serait un truc du genre :
    nohup xterm -sb -ls -fg green -bg black -exec commande -T nom_appli &

    les options:

    -ls Indicates that the shell that is started in the xterm window is a login
    shell (in other words, the first character of the ArgumentVector parameter is a
    dash, indicating to the shell that it should read the user's .login or .profile
    file).

    -sb Indicates that some number of lines that are scrolled off the top of the
    window should be saved and that a scrollbar should be displayed so that those
    lines can be viewed. This option may be turned on and off from the VT Options
    menu.

    -T String Specifies the title for the xterm program's windows. It is equivalent
    to -title.

    -fg Color Specifies the color to use for displaying text. The default is black.

    -bg Color Specifies the color to use for the background of the window. The
    default is white.

    Cette commande ouvrira un terminal et exécutera la commande spécifiée dans ce terminal. Lorsque tu quitteras le terminal a partir duquel tu a lance ta session, la commande exécuté dans la nouvelle fenetre ne s'arrêtera pas. Il faut certainement ajuster en fonction de l'appli que tu execute --> man xterm.