in reply to Setting Win32 "Image Name" of a Perl Process

It is not apparent that there is any way to set the Image Name. There is nothing passed into CreateProcess that seems related to the image name that is shown and there are no API functions that I can see that would allow you to change the image name once created - very likely that is by design!

However if you look at the Applications tab rather than the Processes tab you may find that the names of things are more to your liking. For GUI apps you may find it helps to use wperl.exe rather than perl.exe to run your applications.

This all assumes a context of Windows and, for wperl, ActiveState Perl of course.


DWIM is Perl's answer to Gödel
  • Comment on Re: Setting Win32 "Image Name" of a Perl Process

Replies are listed 'Best First'.
Re^2: Setting Win32 "Image Name" of a Perl Process
by syphilis (Archbishop) on Aug 14, 2006 at 07:09 UTC
    This all assumes a context of Windows and, for wperl, ActiveState Perl of course

    I think wperl.exe will be part of any properly built perl for Win32, irrespective of who built it or which compiler was used. (It's certainly part of my MinGW-built perl 5.8.8, which was built from the perl.org source.)

    Cheers,
    Rob
Re^2: Setting Win32 "Image Name" of a Perl Process
by aufflick (Deacon) on Aug 14, 2006 at 08:48 UTC
    ++ for "this is by design" ;)