site_archiver@lists.apple.com Delivered-To: installer-dev@lists.apple.com Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1286914501; bh=7DpP3XTxxcioTsyyJDOR+DmhjtwxRqG2LqztwiHSpHs=; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:MIME-Version:Content-Type; b=d0qZimhklU0J0lc7Eq3PtiU18xJdElbXyHgryu+LcsL0ZQ+/f/suPkcTiuhBHOSklWTbpozHwD3HZd2CbgYxkyOk0fPD2UaO3/ZxwMFgCxYcVjb4CkWonbDUWzTFQUHnPk1HDVw903RREDdy96vDp5KDMdMRWYcMf6T6oV8Z/7s= Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:MIME-Version:Content-Type; b=323SFT12gjJ8L9hX+1XmLZh7F0mtor/tGe6KwwVBNYLW4/7z2gg2Mvdp3BrX2efvW5FTWhHkZKe3oHghE8dfRQFCDAj0B9sX6SuKC0t5NX5N1AHA0NXeyh9DYJysWkDU4ueZkIeJFjnc7wevFejwDkN91T3Sj+VhtKzbk6stvsw=; I'm working on an installer that uses a postflight script to do a couple things to the application and helper applications we use. right now my script does something like this proc_count=`ps -ec | grep foo | wc -l | sed 's/ //g'` while [ $proc_count -gt 0 ] ; do echo "waiting for foo to close ..." sleep 1 proc_count=`ps -ec | grep foo | wc -l | sed 's/ //g'` done This works fine on 10.6, but when the Installer is run on 10.5 ps -ec returns only the applications started in the current shell. i.e. it get's this PID TTY TIME CMD Oct 11 15:55:24 xxx runner[6672]: postflight[6753]: 4015 ttys000 0:00.02 login Oct 11 15:55:24 xxx runner[6672]: postflight[6753]: 4016 ttys000 0:00.20 -bash Oct 11 15:55:24 xxx runner[6672]: postflight[6753]: 6669 ttys000 0:00.56 installer Is there anything I can do on 10.5 to get this to work?? _______________________________________________ Do not post admin requests to the list. They will be ignored. Installer-dev mailing list (Installer-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/installer-dev/site_archiver%40lists.a... This email sent to site_archiver@lists.apple.com