Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
    • Switch to GitLab Next
  • Sign in / Register
P
pager-rs
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Locked Files
  • Issues 6
    • Issues 6
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
    • Iterations
  • Merge Requests 0
    • Merge Requests 0
  • Requirements
    • Requirements
    • List
  • CI / CD
    • CI / CD
    • Pipelines
    • Jobs
    • Schedules
    • Test Cases
  • Security & Compliance
    • Security & Compliance
    • Dependency List
    • License Compliance
  • Operations
    • Operations
    • Incidents
    • Environments
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Analytics
    • Analytics
    • CI / CD
    • Code Review
    • Insights
    • Issue
    • Repository
    • Value Stream
  • Wiki
    • Wiki
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
  • Cyril Plisko
  • pager-rs
  • Issues
  • #3

Closed
Open
Opened Oct 26, 2016 by Matt Kraai@kraai

Allow PAGER to contain options

sensible-pager and git both allow the PAGER environment variable to contain spaces (e.g., "less -S"). pager-rs produces the following error in this case:

thread 'main' panicked at 'assertion failed: unsafe { libc::execvp(args[0], args.as_ptr()) } > -1', /home/kraai/.cargo/registry/src/github.com-1ecc6299db9ec823/pager-0.9.2/src/utils.rs:23
note: Run with `RUST_BACKTRACE=1` for a backtrace.

I think it would be great if pager-rs handled this the same as sensible-pager and git.

Assignee
Assign to
0.9.3
Milestone
0.9.3
Assign milestone
Time tracking
None
Due date
None
Reference: imp/pager-rs#3