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


Groups > comp.lang.python > #21643

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

Date 2012-03-14 22:15 -0400
From Dave Angel <d@davea.name>
Subject Re: Is it technically possible to give Python option of naming process of running script?
References (1 earlier) <mailman.637.1331738031.3037.python-list@python.org> <jjqfdp$9ud$1@reader1.panix.com> <jjqjkh$rkf$1@dough.gmane.org> <5B80DD153D7D744689F57F4FB69AF474026A27FC@SBECMX008.exchad.jpmchase.net> <5B80DD153D7D744689F57F4FB69AF474026A280E@SBECMX008.exchad.jpmchase.net>
Newsgroups comp.lang.python
Message-ID <mailman.662.1331777775.3037.python-list@python.org> (permalink)

Show all headers | View raw


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 think this request was already denied: http://bugs.python.org/issue5672
> Also take a look at: https://github.com/dvarrazzo/py-setproctitle
> Though since they just create a Named Object in Windows, I am not sure
> it would work for something like killall.
>
>

There is/was a project called exemaker for Windows.  (see Pypi for 
link).  I don't use Windows any more, but it was a nice trick, when it 
worked.  Not all python scripts could be wrapped in it, but basically it 
let you wrap a python script in a tiny Windows program which launched 
the usual python dll's.  You could call it anything you liked, and 
that's what the task manager saw as the process name.




-- 

DaveA

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