Temptationx / procname

Automatically exported from code.google.com/p/procname
0 stars 0 forks source link

Patch to pass an array of arguments #6

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Currently procname only allows to change the first command-line argument 
(usually the name of the python interpreter).  The attached patch allows to 
pass a full array of arguments, and only overwrite what's been allocated when 
the program started.  This is also useful to clear the previously allocated 
command-line arguments, which the original procname didn't do.

Original issue reported on code.google.com by cara...@gmail.com on 16 Feb 2010 at 1:40

Attachments:

GoogleCodeExporter commented 9 years ago
Updated patch to pad arguments with spaces to retain allocated space

Original comment by cara...@gmail.com on 21 May 2010 at 9:46

Attachments: