Hello,

I've got a big problem with par programs, started on linux. The
processnmame in /proc/self/cmdline is wrong. The processname in the
$0-variable is wrong, two.

I tested several versions of par against several versions of perl.
The test was easy:

The PAR-program was located in the path (build with pp -B -o program
program.pl) and was started. $0 and the processname in cmdline where
displayed. Next test was to start the program via symlink in the path
pointing to the original program.

As a result, I got the attached table.

Shortly, PAR seams to have problems with perl > 5.8.0. The last well
working combination is perl 5.8.0 and PAR 0.89. All other versions and
combinations are more or less broken.

Is it possible to get a fix of this problem?



Kind regards,
Andreas Hartmann

$0              cmdline                                 Started via symlink

Perl 5.8.0
PAR 0.89
ok              ok                                      ok
PAR 0.942
ok              ok                                      $0 wrong

Perl 5.8.1
PAR 0.89
ok              /home/Andr-e#!/usr/local/bin/perl       cmdline: 
/home/An-e#!/usr/local/bin/perl
PAR 0.942
ok              /home/Andr-e#!/usr/bin/perl             cmdline: 
/home/An-e#!/usr/bin/perl and $0 wrong

Perl 5.8.3
PAR 0.89
ok              /home/Andr-e#!/usr/local/bin/perl       cmdline: 
/home/An-e#!/usr/local/bin/perl
PAR 0.942
ok              /home/Andr-e#!/usr/bin/perl             cmdline: 
/home/An-e#!/usr/bin/perl and $0 wrong

Perl 5.8.8
PAR 0.89
ok              /home/Andr-e#!/usr/local/bin/perl       cmdline: 
/home/An-e#!/usr/local/bin/perl
PAR 0.942
ok              /home/Andr-e#!/usr/bin/perl             cmdline: 
/home/An-e#!/usr/bin/perl and $0 wrong

Reply via email to