Bonjour
J'ai un script bash
Je veux tester si mon script a été lancé en background ou pas ?
Exemple, si je lance
./monscript.sh
Il me retoune Foreground
Et si je lance :
./monscript.sh &
Il me retourne Background
(si vous avez une solution pour csh aussi, ca m'interesserait bcp :-) )
Merci![]()
Partager