-1
Est-il possible d'entrer en écran détaché, de commander et de se détacher à nouveau via une commande shell?Faire une commande shell dans un écran détaché et détacher à nouveau
Est-il possible d'entrer en écran détaché, de commander et de se détacher à nouveau via une commande shell?Faire une commande shell dans un écran détaché et détacher à nouveau
J'ai résolu ce problème en utilisant tmux.
commande écran de démarrage:
tmux new -s nameOfScreen
Et pour les commandes en cours d'exécution à l'écran détaché I utilisé la méthode send-clés:
tmux send-keys -t tab "command" Enter
https://superuser.com/questions/454907/how -to-execute-a-command-in-screen-and-detach –
L'écran ne fonctionne pas pour moi. J'utilise la méthode tmux et send-keys. – Adrian