err(0,"Failed to transfer reading file descriptor to stdin (error: %d \"%s\")\n", errno, strerror(errno));
exit(1);
}
- execv(path, argv);
+ execvp(path, argv);
err(0,"exec %s failed (error: %d \"%s\")\n", path, errno, strerror(errno));
/* close the open file descriptors */
close(p[0]);
/* variables for the output conversion: */
int pipestatus;
int pipefd, child_pid;
- char* const b64args[] = {"/usr/bin/base64", "--wrap=0", NULL};
+ char* const b64args[] = {"base64", "--wrap=0", NULL};
init_datum(&m);
init_datum(&e);