![]() |
|
|
google unix.com
|
|||||||
| Forums | S'inscrire | Forum Rules | Liens | Albums | FAQ | Liste des membres | Calendrier | Recherche | Aujourd'hui, les postes | Marquer les forums comme lus |
| De programmation et de script Shell Posez vos questions à propos de KSH, CSH, SH, BASH, PERL, PHP, SED, awk et d'autres scripts shell et les langages de script shell ici. |
Plus d'UNIX et Linux Forum Sujets Vous trouverez peut-être utile
|
||||
| Fil | Thread Starter | Forum | Réponses | Last Post |
| Catching ctrl-C ou Ctrl-D | sendhilmani123 | De programmation et de script Shell | 2 | 05-02-2006 06:02 PM |
| comment activer Ctrl + C en ksh | dradhzn | De programmation et de script Shell | 0 | 05-01-2006 11:32 PM |
| Désactiver ctrl-c, ctrl-d, ctrl-d en ksh script | wtofu | AIX | 6 | 06-29-2005 05:41 PM |
| mon ctrl + c ne fonctionne pas | yankee428 | UNIX pour les nuls Questions et réponses | 3 | 06-02-2005 02:35 PM |
| Script ctrl + c | newtounix | UNIX pour les nuls Questions et réponses | 1 | 03-19-2001 05:23 PM |
![]() |
|
|
LinkBack | Thread Tools | Recherche sur ce Thread | Rate Thread | Modes d'affichage |
|
|
|
||||
|
Citation:
Mais je ne connais pas toutes les saveurs d'Unix. Habituellement nohup est exécuté uniquement sur le démarrage d'une commande donnée en argument, mais ne pouvez pas joindre à un processus en cours. Si vous utilisez votre poste de contrôle dans Bash, vous pouvez utiliser le haut - renier commande Code:
$ echo $0 bash $ sleep 600 & [1] 5764 $ disown -h %1 Maintenant, vous devriez être en mesure de quitter sans l'envoi d'un shell SIGHUP à votre sommeil désavoué emploi. Mai je vous renvoie à l'homme bash: Code:
disown [-ar] [-h] [jobspec ...]
Without options, each jobspec is removed from the table of
active jobs. If the -h option is given, each jobspec is not
removed from the table, but is marked so that SIGHUP is not sent
to the job if the shell receives a SIGHUP. If no jobspec is
present, and neither the -a nor the -r option is supplied, the
current job is used. If no jobspec is supplied, the -a option
means to remove or mark all jobs; the -r option without a job‐
spec argument restricts operation to running jobs. The return
value is 0 unless a jobspec does not specify a valid job.
|
|
|||||
|
voici le proc ..
sleep 100 ctrl + z [1] + Stopped (SIGTSTP) sleep 100 ps PID TTY TIME CMD 598132 pts / 3 0:00 sommeil 100 2060484 pts / 3 0:00-ksh 2347048 pts / 3 0:00 ps 2449582 pts / 3 0:00-ksh 3076200 pts / 3 0:00-ksh nohup p-598132 fg% 1% 1 ou bg si cela ne marche pas changer l'OS |
![]() |
| Bookmarks |
| Thread Tools | Recherche sur ce Thread |
| Modes d'affichage | Rate this thread |
|
|