Tous les livres

Professionnel

Applis À propos Coach Connexion Commencer la lecture

Computer Science · Glossaire

Qu'est-ce que « Exit status » ?

Definition 8.3 University Computer Science — Year 1 · Chapitre 8 — The Shell

The exit status of a program is the small integer, from 0 to 255, it hands back when it ends: the value returned by main or passed to exit. By convention 0 means success and any other value failure. The shell keeps the status of the last command in the variable $?.

Lire dans le chapitre →