Skip to content

command with pipe not working #447

@netzego

Description

@netzego

i think the escaping with single quotes breaks the pipe? '|'

nickserv_ident:
    command: "pass $PASSNAME | head -n1"
Running NickServ password command for irc.oftc.net (`pass $PASSNAME '|' head -n1`)
Command returned non-zero: 1
stdout is empty
stderr:
--------------------------------------
pass: invalid option -- 'n'
pass: invalid option -- '1'
Usage: pass show [--clip[=line-number],-c[line-number]] [--qrcode[=line-number],-q[line-number]] [pass-name]

--------------------------------------

and thx for this neat client <3

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions