From mboxrd@z Thu Jan 1 00:00:00 1970 Path: quimby.gnus.org!not-for-mail From: "Stefan Monnier" Newsgroups: gmane.emacs.devel Subject: Re: build from CVS Date: Thu, 07 Feb 2002 10:07:56 -0500 Message-ID: <200202071507.g17F7uh02171@rum.cs.yale.edu> References: <200202071457.g17Evs404725@aztec.santafe.edu> NNTP-Posting-Host: quimby2.netfonds.no Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: quimby2.netfonds.no 1013095051 17115 195.204.10.66 (7 Feb 2002 15:17:31 GMT) X-Complaints-To: usenet@quimby2.netfonds.no NNTP-Posting-Date: 7 Feb 2002 15:17:31 GMT Cc: vardhan.v@parsectech.com, emacs-devel@gnu.org Original-Received: from fencepost.gnu.org ([199.232.76.164]) by quimby2.netfonds.no with esmtp (Exim 3.12 #1 (Debian)) id 16YqIl-0004Rx-00 for ; Thu, 07 Feb 2002 16:17:31 +0100 Original-Received: from localhost ([127.0.0.1] helo=fencepost.gnu.org) by fencepost.gnu.org with esmtp (Exim 3.33 #1 (Debian)) id 16YqAj-0002X7-00; Thu, 07 Feb 2002 10:09:13 -0500 Original-Received: from rum.cs.yale.edu ([128.36.229.169]) by fencepost.gnu.org with esmtp (Exim 3.33 #1 (Debian)) id 16Yq9U-0002Up-00; Thu, 07 Feb 2002 10:07:56 -0500 Original-Received: (from monnier@localhost) by rum.cs.yale.edu (8.11.6/8.11.6) id g17F7uh02171; Thu, 7 Feb 2002 10:07:56 -0500 X-Mailer: exmh version 2.4 06/23/2000 with nmh-1.0.4 Original-To: Richard Stallman Errors-To: emacs-devel-admin@gnu.org X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: Emacs development discussions. List-Unsubscribe: , List-Archive: Xref: quimby.gnus.org gmane.emacs.devel:855 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:855 > Assuming that make expands $$ to it's PID, does it ? > > I think make starts a shell to run the command, so $$ will > be the PID of the shell. So I expect it would not work. > Have you ever seen it ever work? Actually, `$$' is turned into `$' by make (since $ is used by make for variable interpolation, `$$' is provided as a way to protect a $ from expansion). So `$$$$' would get the shell's process id. With some shells you might be able to use `$$PPID'. Stefan _______________________________________________ Emacs-devel mailing list Emacs-devel@gnu.org http://mail.gnu.org/mailman/listinfo/emacs-devel