diff options
author | Ron Yorston <rmy@pobox.com> | 2023-05-02 11:01:10 +0100 |
---|---|---|
committer | Ron Yorston <rmy@pobox.com> | 2023-05-02 11:01:10 +0100 |
commit | a0ed5a7ceaf4636eab0bb66b523a9eaf437acbe8 (patch) | |
tree | 3e0cc20a5c4e83954302ff41cc8e87c6c69636ee /docs | |
parent | 61be00816a0c09379b4b3f2655c70e9e14bc0841 (diff) | |
download | busybox-w32-a0ed5a7ceaf4636eab0bb66b523a9eaf437acbe8.tar.gz busybox-w32-a0ed5a7ceaf4636eab0bb66b523a9eaf437acbe8.tar.bz2 busybox-w32-a0ed5a7ceaf4636eab0bb66b523a9eaf437acbe8.zip |
su: add option to keep console open on shell exit
The '-N' option keeps the console window open after the elevated
shell exits.
Previously this was achieved by passing the '-s' option along with
'-c'. Recent changes allow scripts to be run without using '-c'
so a new mechanism is required.
su passes the '-N' flag to the shell. This causes the shell to
issue a prompt and wait for user input when it exits.
Costs 200-204 bytes.
Diffstat (limited to 'docs')
0 files changed, 0 insertions, 0 deletions