Skip to content

Argument with spaces != multiple arguments #5

@Droggelbecher

Description

@Droggelbecher

The script calls xterm/taskwarrior with a long argument containing spaces instead of multiple arguments.
I don't know about the xterm case but with urxvt that just does nothing
(as at some place something seems to assume "task add etc.." is the name of the program to be executed).

I could fix this by constructing args like this:
var args = [ "-e", "task", "add", "+inbox", "+email", "Email: " + box[1] ];

(instead of using topicName).
Maybe that helps someone else as well.

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