Le 3 juin 08 à 11:37, Maurice Inzirillo 4DNC a écrit :
> PID1=`/bin/ps x | /usr/bin/grep -v grep | /usr/bin/grep '/Users/me/
> Desktop/myFolder.com/My Server.app/Contents/MacOS/My Server' | /usr/
> bin/cut -c1-5`
je rajouterai deux ou trois w aux options de ps pour s'assurer que le
chemin complet s'affiche.
PID1=`/bin/ps xwww | /usr/bin/grep -v grep | /usr/bin/grep '/Users/me/
Desktop/myFolder.com/My Server.app/Contents/MacOS/My Server' | /usr/
bin/cut -c1-5`
--
Jayce Piel
MosX.org
la renaissance.....
_______________________________________________
archives :
http://listes.patpro.net/list/sshfr.fr.html
http://listes.patpro.net/mailman/listinfo/script_shell_fr