diff options
author | Ron Yorston <rmy@pobox.com> | 2017-08-01 19:47:20 +0100 |
---|---|---|
committer | Ron Yorston <rmy@pobox.com> | 2017-08-01 19:47:20 +0100 |
commit | f5051d07f196a8ff7aeaae762333d5aa2b824088 (patch) | |
tree | 3b61563a88c7fe57fddc4bc24a6a42b7ea755c21 /init | |
parent | 2a210715a9a85fb48cf8f636c74e63f54605eedc (diff) | |
download | busybox-w32-f5051d07f196a8ff7aeaae762333d5aa2b824088.tar.gz busybox-w32-f5051d07f196a8ff7aeaae762333d5aa2b824088.tar.bz2 busybox-w32-f5051d07f196a8ff7aeaae762333d5aa2b824088.zip |
ash: allow long-running nofork applets to be interrupted
Nofork applets can't be interrupted with ctrl-c. This isn't an
issue for most such applets because they do very little and won't
run for very long. However 'yes' and 'seq 10000000' can't be
interrupted in a interactive shell, which is awkward.
As a special case ignore the nofork-ness of these applets if they're
run from an interactive shell.
This isn't foolproof as there are still ways to run them such that
they can't be interrupted, but it helps.
Diffstat (limited to 'init')
0 files changed, 0 insertions, 0 deletions