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

2012-03-24 Thread Adam Tauno Williams
On Wed, 2012-03-14 at 07:43 -0700, xliiv wrote: > Like the topic.. . > I use Python a lot, both Windows and Linux, and it's little weird to > have many python process without fast distinction which is what. I'm not sure of my interpretation of your problem but if you want to set the name of the ru

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

2012-03-16 Thread Grant Edwards
On 2012-03-16, Prasad, Ramit wrote: > >> 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 t

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

2012-03-16 Thread Prasad, Ramit
> 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

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

2012-03-16 Thread Grant Edwards
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 Pytho

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

2012-03-16 Thread xliiv
> > 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 y

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

2012-03-15 Thread Chris Angelico
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 y

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

2012-03-15 Thread Dave Angel
On 03/15/2012 02:39 PM, Grant Edwards wrote: On 2012-03-15, Dave Angel wrote: On 03/15/2012 03:26 AM, xliiv wrote: Like the topic.. . I use Python a lot, both Windows and Linux, and it's little weird to have many python process without fast distinction which is what. I did google, I've playe

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

2012-03-15 Thread Grant Edwards
On 2012-03-15, Dave Angel wrote: > On 03/15/2012 03:26 AM, xliiv wrote: > Like the topic.. . > I use Python a lot, both Windows and Linux, and it's little weird to have > many python process without fast distinction which is what. >>> >> >> I did google, I've played with Exemaker (it

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

2012-03-15 Thread Dave Angel
On 03/15/2012 03:26 AM, xliiv wrote: Like the topic.. . I use Python a lot, both Windows and Linux, and it's little weird to have many python process without fast distinction which is what. I did google, I've played with Exemaker (it works perfect, but not py3) and i've seen questions on St

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

2012-03-15 Thread xliiv
> >> Like the topic.. . > >> I use Python a lot, both Windows and Linux, and it's little weird to have > >> many python process without fast distinction which is what. > > > > I've no idea if it's even possible on Windows. On Linux, what you want > > is the prctl function, which (AFAIK) isn't dire

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

2012-03-15 Thread xliiv
> >> Like the topic.. . > >> I use Python a lot, both Windows and Linux, and it's little weird to have > >> many python process without fast distinction which is what. > > > > I've no idea if it's even possible on Windows. On Linux, what you want > > is the prctl function, which (AFAIK) isn't dire

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

2012-03-14 Thread Dave Angel
On 03/14/2012 01:27 PM, Prasad, Ramit wrote: It seems like an excellent thing to add to the "os" module. If 'prctl' is a standard POSIX system call, then it should be a candidate for inclusion in the os module if someone opens a tracker enhancement issue and presents an argument in favor. I th

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

2012-03-14 Thread Alain Ketterlin
Terry Reedy writes: > On 3/14/2012 12:02 PM, Grant Edwards wrote: > >> It seems like an excellent thing to add to the "os" module. > > If 'prctl' is a standard POSIX system call, then it should be a > candidate for inclusion in the os module if someone opens a tracker > enhancement issue and pres

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

2012-03-14 Thread Prasad, Ramit
> > > It seems like an excellent thing to add to the "os" module. > > > > If 'prctl' is a standard POSIX system call, then it should be a > > candidate for inclusion in the os module if someone opens a tracker > > enhancement issue and presents an argument in favor. > > > I think this request wa

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

2012-03-14 Thread Prasad, Ramit
> > It seems like an excellent thing to add to the "os" module. > > If 'prctl' is a standard POSIX system call, then it should be a > candidate for inclusion in the os module if someone opens a tracker > enhancement issue and presents an argument in favor. I think this request was already denied

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

2012-03-14 Thread Terry Reedy
On 3/14/2012 12:02 PM, Grant Edwards wrote: It seems like an excellent thing to add to the "os" module. If 'prctl' is a standard POSIX system call, then it should be a candidate for inclusion in the os module if someone opens a tracker enhancement issue and presents an argument in favor. -

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

2012-03-14 Thread Grant Edwards
On 2012-03-14, Chris Angelico wrote: > On Thu, Mar 15, 2012 at 1:43 AM, xliiv wrote: >> Like the topic.. . >> I use Python a lot, both Windows and Linux, and it's little weird to have >> many python process without fast distinction which is what. > > I've no idea if it's even possible on Windows

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

2012-03-14 Thread Chris Angelico
On Thu, Mar 15, 2012 at 1:43 AM, xliiv wrote: > Like the topic.. . > I use Python a lot, both Windows and Linux, and it's little weird to have > many python process without fast distinction which is what. I've no idea if it's even possible on Windows. On Linux, what you want is the prctl functio

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

2012-03-14 Thread xliiv
Like the topic.. . I use Python a lot, both Windows and Linux, and it's little weird to have many python process without fast distinction which is what. -- http://mail.python.org/mailman/listinfo/python-list