Re: [HS] qqun peut-il m'aider pour un script bash ??
On 09 Jan 2002 19:27:03 +0100
Grégoire Cachet <gregoire.cachet@wanadoo.fr> wrote:
> bonsoir !!
>
> j'essaye d'ecrire un script bash :
> si un programme nommé prog est deja lancé, on ne fait rien
> si celui-ci n'est pas lancé, on le lance
>
> merci d'avance pour votre aide
> @+
> grégoire
> --
> La tête chez les femmes n'est pas un organe essentiel
> Anatole France
>
>
> --
> To UNSUBSCRIBE, email to debian-user-french-request@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
>
>
if [ ! ps -C prog ]; then
prog
fi
Yann Aubert
Reply to: