diff options
author | Ron Yorston <rmy@pobox.com> | 2024-08-07 12:32:11 +0100 |
---|---|---|
committer | Ron Yorston <rmy@pobox.com> | 2024-08-07 12:32:11 +0100 |
commit | 2908a94a565c162eea751f1d7042b75cdc8cd13d (patch) | |
tree | e0a010428c859aed5067df37e01bae57714e822a /init | |
parent | e5244175baa5c94726670a6aeb8645428306011a (diff) | |
download | busybox-w32-2908a94a565c162eea751f1d7042b75cdc8cd13d.tar.gz busybox-w32-2908a94a565c162eea751f1d7042b75cdc8cd13d.tar.bz2 busybox-w32-2908a94a565c162eea751f1d7042b75cdc8cd13d.zip |
su: add test mode
Testing some uses of 'su' can be challenging because any errors
appear in the new console window which may close as a result.
Add the '-t' option to enable test mode. This starts a new shell
using ShellExecuteEx(), but without elevated privileges and a new
console. All other options and arguments are handled much as
before, though some differences in behaviour are to be expected due
to the lack of elevated privilege.
Adds 80-96 bytes.
(GitHub issue #438)
Diffstat (limited to 'init')
0 files changed, 0 insertions, 0 deletions