Skip Menu |
 

This queue is for tickets about the Proc-ProcessTable CPAN distribution.

Report information
The Basics
Id: 111038
Status: resolved
Priority: 0/
Queue: Proc-ProcessTable

People
Owner: Nobody in particular
Requestors: SREZIC [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: 0.53
Fixed in: (no value)



Subject: Trailing space in cmndline (freebsd-kvm and other implementations)
Download (untitled) / with headers
text/plain 585b
cmndline on freebsd has always an unnecessary trailing space: $ perl5.22.1 -MProc::ProcessTable -E 'say "<" . (grep { $_->pid == $$ } @{Proc::ProcessTable->new->table})[0]->cmndline . ">"' <perl5.22.1 -MProc::ProcessTable -E say "<" . (grep { $_->pid == $$ } @{Proc::ProcessTable->new->table})[0]->cmndline . ">" > Same on linux: $ perl5.22.1 -MProc::ProcessTable -E 'say "<" . (grep { $_->pid == $$ } @{Proc::ProcessTable->new->table})[0]->cmndline . ">"' <perl5.22.1 -MProc::ProcessTable -E say "<" . (grep { $_->pid == $$ } @{Proc::ProcessTable->new->table})[0]->cmndline . ">">
Download (untitled) / with headers
text/plain 729b
On 2016-01-09 05:57:13, SREZIC wrote: Show quoted text
> cmndline on freebsd has always an unnecessary trailing space: > > $ perl5.22.1 -MProc::ProcessTable -E 'say "<" . (grep { $_->pid == $$ > } @{Proc::ProcessTable->new->table})[0]->cmndline . ">"' > <perl5.22.1 -MProc::ProcessTable -E say "<" . (grep { $_->pid == $$ } > @{Proc::ProcessTable->new->table})[0]->cmndline . ">" > > > Same on linux: > > $ perl5.22.1 -MProc::ProcessTable -E 'say "<" . (grep { $_->pid == $$ > } @{Proc::ProcessTable->new->table})[0]->cmndline . ">"' > <perl5.22.1 -MProc::ProcessTable -E say "<" . (grep { $_->pid == $$ } > @{Proc::ProcessTable->new->table})[0]->cmndline . ">">
See pull request: https://github.com/jwbargsten/perl-proc-processtable/pull/14
On 2016-01-09 06:15:08, SREZIC wrote: Show quoted text
> On 2016-01-09 05:57:13, SREZIC wrote:
> > cmndline on freebsd has always an unnecessary trailing space: > > > > $ perl5.22.1 -MProc::ProcessTable -E 'say "<" . (grep { $_->pid == $$ > > } @{Proc::ProcessTable->new->table})[0]->cmndline . ">"' > > <perl5.22.1 -MProc::ProcessTable -E say "<" . (grep { $_->pid == $$ } > > @{Proc::ProcessTable->new->table})[0]->cmndline . ">" > > > > > Same on linux: > > > > $ perl5.22.1 -MProc::ProcessTable -E 'say "<" . (grep { $_->pid == $$ > > } @{Proc::ProcessTable->new->table})[0]->cmndline . ">"' > > <perl5.22.1 -MProc::ProcessTable -E say "<" . (grep { $_->pid == $$ } > > @{Proc::ProcessTable->new->table})[0]->cmndline . ">">
> > See pull request: https://github.com/jwbargsten/perl-proc- > processtable/pull/14
And another pull request for OpenBSD & BSDi, however completely untested (maybe it would be a good idea to let the change check on a OpenBSD smoker; BSDi probably does not exist nowadays anymore): https://github.com/jwbargsten/perl-proc-processtable/pull/15
Merged pull request, thanks! I'll publish it in a dev version and wait for the OpenBSD results


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.