Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!news.glorb.com!news-out.readnews.com!news-xxxfer.readnews.com!panix!not-for-mail From: Grant Edwards Newsgroups: comp.lang.python Subject: Re: Is it technically possible to give Python option of naming process of running script? Date: Fri, 16 Mar 2012 13:27:34 +0000 (UTC) Organization: PANIX Public Access Internet and UNIX, NYC Lines: 20 Message-ID: References: <19118128.4791.1331736187952.JavaMail.geo-discussion-forums@vbai14> <22071354.8904.1331796412001.JavaMail.geo-discussion-forums@vbkc1> NNTP-Posting-Host: dsl.comtrol.com Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: reader1.panix.com 1331904454 7254 64.122.56.22 (16 Mar 2012 13:27:34 GMT) X-Complaints-To: abuse@panix.com NNTP-Posting-Date: Fri, 16 Mar 2012 13:27:34 +0000 (UTC) User-Agent: slrn/pre0.9.9-102 (Linux) Xref: csiph.com comp.lang.python:21752 On 2012-03-16, Chris Angelico wrote: > On Fri, Mar 16, 2012 at 5:39 AM, Grant Edwards wrote: >> Seems like an awfully obtuse way of doing things -- I don't really >> want to have 15 different copies of Python (or even links), and it >> requires root privleges every time you want to run a Python program >> with the "correct" name. > > Why do you need root? Can't you copy / link into your own home directory? I was thinging about daemons and system-type stuff. One possible problem with linking from one's home directory is that home directories are often on different filesystems than /usr/bin (or wherever python is). Using a symlink doesn't work, the process name still ends up as python2.6 (or whatever the real binary is called). -- Grant Edwards grant.b.edwards Yow! Where do your SOCKS at go when you lose them in gmail.com th' WASHER?