Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #21643
| Path | csiph.com!usenet.pasdenom.info!weretis.net!feeder1.news.weretis.net!feeder.erje.net!newsfeed.xs4all.nl!newsfeed6.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail |
|---|---|
| Return-Path | <d@davea.name> |
| X-Original-To | python-list@python.org |
| Delivered-To | python-list@mail.python.org |
| X-Spam-Status | OK 0.002 |
| X-Spam-Evidence | '*H*': 1.00; '*S*': 0.00; 'pypi': 0.04; 'subject:Python': 0.05; 'subject:process': 0.07; 'python': 0.08; 'scripts': 0.09; '>>>>': 0.09; 'subject:script': 0.09; 'url:github': 0.09; 'worked.': 0.09; 'argument': 0.15; 'posix': 0.16; 'received:192.168.1.104': 0.16; 'subject: \n ': 0.16; 'subject:possible': 0.16; 'cc:addr:python-list': 0.16; 'url:bugs': 0.17; 'wrote:': 0.18; '>>>': 0.18; 'wrap': 0.18; 'seems': 0.20; 'to:2**1': 0.21; 'tracker': 0.21; 'header:In-Reply-To:1': 0.22; 'opens': 0.23; 'candidate': 0.26; 'windows': 0.26; 'cc:2**0': 0.26; 'module': 0.26; '(see': 0.28; 'script': 0.28; 'module.': 0.29; 'cc:addr:python.org': 0.29; 'pm,': 0.29; 'subject:?': 0.31; 'usual': 0.32; 'there': 0.33; 'header:User-Agent:1': 0.33; 'named': 0.33; 'object': 0.33; 'anything': 0.34; 'someone': 0.34; 'something': 0.35; 'project': 0.35; 'url:python': 0.35; 'issue': 0.37; 'but': 0.37; 'received:192': 0.38; 'could': 0.38; 'think': 0.38; 'should': 0.38; 'received:192.168.1': 0.39; 'url:org': 0.39; 'called': 0.40; 'saw': 0.66; 'header:Reply-To:1': 0.70; 'presents': 0.71; 'reply-to:no real name:2**0': 0.72; 'denied:': 0.84; 'trick,': 0.84; 'subject:\t': 0.93; 'enhancement': 0.96 |
| Date | Wed, 14 Mar 2012 22:15:28 -0400 |
| From | Dave Angel <d@davea.name> |
| User-Agent | Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.27) Gecko/20120216 Thunderbird/3.1.19 |
| MIME-Version | 1.0 |
| To | "Prasad, Ramit" <ramit.prasad@jpmorgan.com> |
| Subject | Re: Is it technically possible to give Python option of naming process of running script? |
| References | <19118128.4791.1331736187952.JavaMail.geo-discussion-forums@vbai14> <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> |
| In-Reply-To | <5B80DD153D7D744689F57F4FB69AF474026A280E@SBECMX008.exchad.jpmchase.net> |
| Content-Type | text/plain; charset=ISO-8859-1; format=flowed |
| Content-Transfer-Encoding | 7bit |
| X-Provags-ID | V02:K0:EH/MhIKAZseDzAK+QsuqkzxrdNjPjkKMj7uc2zHSj3z YXy7AnG37DFZXOBPWti9GTfgJSBqz+r3N7vgy2zB2jVm6y7tBo Z9PyuJETMOvN9As6W/vywNZAIAajI+yzD1419W6GlnGXQ9TyrA EoTWMou4CpicFT2JZNWzeJb1jphNXDfSONvuQ9mmthddP08a2C cm9HK1/Qh/aAQIogm8gx5Grualz8rPwL+FoRQ3xcA2DP/UnWYb YF6aLf7DliNiP61rIiDmoAQrkoyugB/SDECBKEtNS8oApWJHHW rfz5kczY5J3hJOVEjODlzNF/verks3lX0V26VcsMsmU6pZOIw= = |
| Cc | "python-list@python.org" <python-list@python.org> |
| X-BeenThere | python-list@python.org |
| X-Mailman-Version | 2.1.12 |
| Precedence | list |
| Reply-To | d@davea.name |
| List-Id | General discussion list for the Python programming language <python-list.python.org> |
| List-Unsubscribe | <http://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe> |
| List-Archive | <http://mail.python.org/pipermail/python-list> |
| List-Post | <mailto:python-list@python.org> |
| List-Help | <mailto:python-list-request@python.org?subject=help> |
| List-Subscribe | <http://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe> |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.662.1331777775.3037.python-list@python.org> (permalink) |
| Lines | 27 |
| NNTP-Posting-Host | 2001:888:2000:d::a6 |
| X-Trace | 1331777775 news.xs4all.nl 6944 [2001:888:2000:d::a6]:39130 |
| X-Complaints-To | abuse@xs4all.nl |
| Xref | csiph.com comp.lang.python:21643 |
Show key headers only | 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 | Next — Previous in thread | Next in thread | Find similar | Unroll 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