summaryrefslogtreecommitdiff
path: root/%25252525252525252525252525252525253fid%25252525252525252525252525252525253d6...
diff options
context:
space:
mode:
authorLukas Fleischer <lfleischer@calcurse.org>2021-04-04 11:26:46 -0400
committerLukas Fleischer <lfleischer@calcurse.org>2021-04-04 12:15:31 -0400
commit193ad3415a0e76bf046bfcc3f03dd65742f18589 (patch)
tree8886dda7957bf024a0404c7834fb6fb0d43ade11 /%25252525252525252525252525252525253fid%25252525252525252525252525252525253d6e6663c5dde69fe4928790fd44ed46c70e31215f%252525252525252525252525252525253fid%252525252525252525252525252525253d6e6663c5dde69fe4928790fd44ed46c70e31215f%2525252525252525252525252525253fid%2525252525252525252525252525253d3d0cc429d90a53991b4e6aaf8f56ac0dfbaabda4%25252525252525252525252525253fid%25252525252525252525252525253dcb6b3340f8995605ad96a306fe0b5e6cbb57d1de%252525252525252525252525253fid%252525252525252525252525253d5398f3a24e988da4836f78fba62acf2ead1030b0%2525252525252525252525253fid%2525252525252525252525253d193ad3415a0e76bf046bfcc3f03dd65742f18589%25252525252525252525253fid%25252525252525252525253d193ad3415a0e76bf046bfcc3f03dd65742f18589%252525252525252525253fid%252525252525252525253d193ad3415a0e76bf046bfcc3f03dd65742f18589&id2%252525252525252525253d5710a8bd7fc3d5a3e46f108c16199ed7553515f0%2525252525252525253fid%2525252525252525253d193ad3415a0e76bf046bfcc3f03dd65742f18589&id2%2525252525252525253d5710a8bd7fc3d5a3e46f108c16199ed7553515f0%25252525252525253fid%25252525252525253d193ad3415a0e76bf046bfcc3f03dd65742f18589&id2%25252525252525253d5710a8bd7fc3d5a3e46f108c16199ed7553515f0%252525252525253fid%252525252525253d193ad3415a0e76bf046bfcc3f03dd65742f18589&id2%252525252525253d5710a8bd7fc3d5a3e46f108c16199ed7553515f0%2525252525253fid%2525252525253d193ad3415a0e76bf046bfcc3f03dd65742f18589&id2%2525252525253d5710a8bd7fc3d5a3e46f108c16199ed7553515f0%25252525253fid%25252525253d193ad3415a0e76bf046bfcc3f03dd65742f18589%252525253fid%252525253d193ad3415a0e76bf046bfcc3f03dd65742f18589%2525253fid%2525253d193ad3415a0e76bf046bfcc3f03dd65742f18589%25253fid%25253d193ad3415a0e76bf046bfcc3f03dd65742f18589%253fid%253d193ad3415a0e76bf046bfcc3f03dd65742f18589%3fid%3d193ad3415a0e76bf046bfcc3f03dd65742f18589&id2%3d5710a8bd7fc3d5a3e46f108c16199ed7553515f0?id=193ad3415a0e76bf046bfcc3f03dd65742f18589
parent5710a8bd7fc3d5a3e46f108c16199ed7553515f0 (diff)
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 '%25252525252525252525252525252525253fid%25252525252525252525252525252525253d6e6663c5dde69fe4928790fd44ed46c70e31215f%252525252525252525252525252525253fid%252525252525252525252525252525253d6e6663c5dde69fe4928790fd44ed46c70e31215f%2525252525252525252525252525253fid%2525252525252525252525252525253d3d0cc429d90a53991b4e6aaf8f56ac0dfbaabda4%25252525252525252525252525253fid%25252525252525252525252525253dcb6b3340f8995605ad96a306fe0b5e6cbb57d1de%252525252525252525252525253fid%252525252525252525252525253d5398f3a24e988da4836f78fba62acf2ead1030b0%2525252525252525252525253fid%2525252525252525252525253d193ad3415a0e76bf046bfcc3f03dd65742f18589%25252525252525252525253fid%25252525252525252525253d193ad3415a0e76bf046bfcc3f03dd65742f18589%252525252525252525253fid%252525252525252525253d193ad3415a0e76bf046bfcc3f03dd65742f18589&id2%252525252525252525253d5710a8bd7fc3d5a3e46f108c16199ed7553515f0%2525252525252525253fid%2525252525252525253d193ad3415a0e76bf046bfcc3f03dd65742f18589&id2%2525252525252525253d5710a8bd7fc3d5a3e46f108c16199ed7553515f0%25252525252525253fid%25252525252525253d193ad3415a0e76bf046bfcc3f03dd65742f18589&id2%25252525252525253d5710a8bd7fc3d5a3e46f108c16199ed7553515f0%252525252525253fid%252525252525253d193ad3415a0e76bf046bfcc3f03dd65742f18589&id2%252525252525253d5710a8bd7fc3d5a3e46f108c16199ed7553515f0%2525252525253fid%2525252525253d193ad3415a0e76bf046bfcc3f03dd65742f18589&id2%2525252525253d5710a8bd7fc3d5a3e46f108c16199ed7553515f0%25252525253fid%25252525253d193ad3415a0e76bf046bfcc3f03dd65742f18589%252525253fid%252525253d193ad3415a0e76bf046bfcc3f03dd65742f18589%2525253fid%2525253d193ad3415a0e76bf046bfcc3f03dd65742f18589%25253fid%25253d193ad3415a0e76bf046bfcc3f03dd65742f18589%253fid%253d193ad3415a0e76bf046bfcc3f03dd65742f18589%3fid%3d193ad3415a0e76bf046bfcc3f03dd65742f18589&id2%3d5710a8bd7fc3d5a3e46f108c16199ed7553515f0?id=193ad3415a0e76bf046bfcc3f03dd65742f18589')
0 files changed, 0 insertions, 0 deletions