diff options
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 '%252525252525253fid%252525252525253dcb6b3340f8995605ad96a306fe0b5e6cbb57d1de%2525252525253fid%2525252525253dcb6b3340f8995605ad96a306fe0b5e6cbb57d1de%25252525253fid%25252525253d5398f3a24e988da4836f78fba62acf2ead1030b0%252525253fid%252525253d5398f3a24e988da4836f78fba62acf2ead1030b0&id2%252525253d193ad3415a0e76bf046bfcc3f03dd65742f18589%2525253fid%2525253d5398f3a24e988da4836f78fba62acf2ead1030b0&id2%2525253d193ad3415a0e76bf046bfcc3f03dd65742f18589%25253fid%25253d5398f3a24e988da4836f78fba62acf2ead1030b0%253fid%253d5398f3a24e988da4836f78fba62acf2ead1030b0%3fid%3d193ad3415a0e76bf046bfcc3f03dd65742f18589?id=193ad3415a0e76bf046bfcc3f03dd65742f18589')
0 files changed, 0 insertions, 0 deletions