fix line break bug
some system user '\n\r' as line break, if we split commands by '\n', then '\r' will be considered as part of commands which will break sudo authentication. we can use splitlines function to avoid the problem.
Showing
Please
register
or
sign in
to comment