task

creates a plain-text task file in the current directory
git clone git://brookjeynes.dev/bjeynes/task.git
Log | Files | Refs | README | LICENSE

commit 15a080b97dbce58fbd087035a41116746dd06546
parent 3d2af8cd83d315eb482dc47dafc6d2cc8bd4a467
Author: brookjeynes <me@brookjeynes.dev>
Date:   Wed, 10 Jun 2026 11:47:41 +0000

fix: add NULL to execvp args

Diffstat:
Mmain.c | 7+++----
1 file changed, 3 insertions(+), 4 deletions(-)

diff --git a/main.c b/main.c @@ -116,8 +116,7 @@ int main(int argc, char *argv[]) { return 0; } - char *args[] = {editor, title_to_file}; - execv(editor, args); - - return 0; + char *args[] = {editor, title_to_file, NULL}; + execvp(editor, args); + return 1; }