summaryrefslogtreecommitdiff
path: root/src/option_processing.cc
diff options
context:
space:
mode:
authorTatsuhiro Tsujikawa <tatsuhiro.t@gmail.com>2011-12-01 22:53:30 +0900
committerTatsuhiro Tsujikawa <tatsuhiro.t@gmail.com>2011-12-01 23:21:44 +0900
commitb89bc8a6cb3b93997647ceefc5b17bf05f20a0d0 (patch)
tree0a84baa615a1b03e7e4d3f371394399e0b9126bb /src/option_processing.cc
parentce3b3fc88e64722b462c708b2c5ddefa942c50b1 (diff)
Added --stop-with-process=PID option.
This feature stops application when process PID is not running. This is useful if aria2 process is forked from a parent process. The parent process can fork aria2 with its own pid and when parent process exits for some reason, aria2 can detect it and shutdown itself. The code which detects whether or not given process PID is running is contributed by Emmanuel Engelhart.
Diffstat (limited to 'src/option_processing.cc')
0 files changed, 0 insertions, 0 deletions