On 3 juin 08, at 11:55, Piel Jayce wrote:
>> 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.
tant qu'à y aller :
/bin/ps axco "pid,command"
patpro
_______________________________________________
archives :
http://listes.patpro.net/list/sshfr.fr.html
http://listes.patpro.net/mailman/listinfo/script_shell_fr