Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #21752

Re: Is it technically possible to give Python option of naming process of running script?

From Grant Edwards <invalid@invalid.invalid>
Newsgroups comp.lang.python
Subject Re: Is it technically possible to give Python option of naming process of running script?
Date 2012-03-16 13:27 +0000
Organization PANIX Public Access Internet and UNIX, NYC
Message-ID <jjvf46$72m$1@reader1.panix.com> (permalink)
References (2 earlier) <jjqfdp$9ud$1@reader1.panix.com> <22071354.8904.1331796412001.JavaMail.geo-discussion-forums@vbkc1> <mailman.687.1331827483.3037.python-list@python.org> <jjtd0f$t8t$1@reader1.panix.com> <mailman.716.1331867645.3037.python-list@python.org>

Show all headers | View raw


On 2012-03-16, Chris Angelico <rosuav@gmail.com> wrote:
> On Fri, Mar 16, 2012 at 5:39 AM, Grant Edwards <invalid@invalid.invalid> 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?

Back to comp.lang.python | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Is it technically possible to give Python option of naming process of running script? xliiv <tymoteusz.jankowski@gmail.com> - 2012-03-14 07:43 -0700
  Re: Is it technically possible to give Python option of naming process of running script? Chris Angelico <rosuav@gmail.com> - 2012-03-15 02:13 +1100
    Re: Is it technically possible to give Python option of naming process of running script? Grant Edwards <invalid@invalid.invalid> - 2012-03-14 16:02 +0000
      Re: Is it technically possible to give Python option of naming process of running script? Terry Reedy <tjreedy@udel.edu> - 2012-03-14 13:13 -0400
        Re: Is it technically possible to give Python option of naming process of running script? Alain Ketterlin <alain@dpt-info.u-strasbg.fr> - 2012-03-14 18:34 +0100
      RE: Is it technically possible to give Python option of naming process of running script? "Prasad, Ramit" <ramit.prasad@jpmorgan.com> - 2012-03-14 17:20 +0000
      RE: Is it technically possible to give Python option of naming process of running script? "Prasad, Ramit" <ramit.prasad@jpmorgan.com> - 2012-03-14 17:27 +0000
      Re: Is it technically possible to give Python option of naming process of running script? Dave Angel <d@davea.name> - 2012-03-14 22:15 -0400
      Re: Is it technically possible to give Python option of naming process of running script? xliiv <tymoteusz.jankowski@gmail.com> - 2012-03-15 00:24 -0700
      Re: Is it technically possible to give Python option of naming process of running script? xliiv <tymoteusz.jankowski@gmail.com> - 2012-03-15 00:26 -0700
        Re: Is it technically possible to give Python option of naming process of running script? Dave Angel <d@davea.name> - 2012-03-15 12:04 -0400
          Re: Is it technically possible to give Python option of naming process of running script? Grant Edwards <invalid@invalid.invalid> - 2012-03-15 18:39 +0000
            Re: Is it technically possible to give Python option of naming process of running script? Dave Angel <d@davea.name> - 2012-03-15 22:00 -0400
            Re: Is it technically possible to give Python option of naming process of running script? Chris Angelico <rosuav@gmail.com> - 2012-03-16 14:14 +1100
              Re: Is it technically possible to give Python option of naming process of running script? xliiv <tymoteusz.jankowski@gmail.com> - 2012-03-16 01:19 -0700
              Re: Is it technically possible to give Python option of naming process of running script? xliiv <tymoteusz.jankowski@gmail.com> - 2012-03-16 01:19 -0700
              Re: Is it technically possible to give Python option of naming process of running script? Grant Edwards <invalid@invalid.invalid> - 2012-03-16 13:27 +0000
                RE: Is it technically possible to give Python option of naming process of running script? "Prasad, Ramit" <ramit.prasad@jpmorgan.com> - 2012-03-16 20:14 +0000
                Re: Is it technically possible to give Python option of naming process of running script? Grant Edwards <invalid@invalid.invalid> - 2012-03-16 20:54 +0000
  Re: Is it technically possible to give Python option of naming process of running script? Adam  Tauno Williams <awilliam@whitemice.org> - 2012-03-24 11:24 -0400

csiph-web