aboutsummaryrefslogtreecommitdiffhomepage
path: root/notmuch-show.c
diff options
context:
space:
mode:
authorGravatar Tomi Ollila <too@iki.fi>2012-09-18 17:23:01 +0300
committerGravatar David Bremner <bremner@debian.org>2012-10-20 17:45:52 -0300
commitd894887c94c67860af817239bb1ce3b0360ec3e0 (patch)
tree96bb8798a9eda4d6234872747b9f61fed8bf9cd8 /notmuch-show.c
parent1a4aa694921cbc79014141523c8afbfecb5076c9 (diff)
test/smtp-dummy: add --background option and functionality
When shell executes background process using '&' the scheduling of that new process is arbitrary. It could be that smtp-dummy doesn't get execution time to listen() it's server socket until some other process attempts to connect() to it. The --background option in smtp-dummy makes it to go background *after* it started to listen its server socket. When --background option is used, the line "smtp_dummy_pid='<pid>'" is printed to stdout from where shell can eval it.
Diffstat (limited to 'notmuch-show.c')
0 files changed, 0 insertions, 0 deletions