diff options
author | Lukas Fleischer <lfleischer@calcurse.org> | 2021-04-04 11:26:46 -0400 |
---|---|---|
committer | Lukas Fleischer <lfleischer@calcurse.org> | 2021-04-04 12:15:31 -0400 |
commit | 193ad3415a0e76bf046bfcc3f03dd65742f18589 (patch) | |
tree | 8886dda7957bf024a0404c7834fb6fb0d43ade11 /doc/nl/vnote.txt | |
parent | 5710a8bd7fc3d5a3e46f108c16199ed7553515f0 (diff) | |
download | calcurse-193ad3415a0e76bf046bfcc3f03dd65742f18589.tar.gz calcurse-193ad3415a0e76bf046bfcc3f03dd65742f18589.zip |
Redirect standard descriptors for hook/notify commands
Disconnect stdin, stdout and stderr when running an external hook or
notification command. The previous solution of appending "<&- >&- 2>&-"
to the shell command line does not work if the command includes pipes.
Use shell_exec() in notify_launch_cmd() instead of a custom (and
incomplete) reimplementation of that command.
Partially addresses GitHub issue #326.
Signed-off-by: Lukas Fleischer <lfleischer@calcurse.org>
Diffstat (limited to 'doc/nl/vnote.txt')
0 files changed, 0 insertions, 0 deletions