tb2taskwarrior
tb2taskwarrior copied to clipboard
Argument with spaces != multiple arguments
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.