Currently we have the ' '.join(command) thing in the debug output. This means that one cannot directly copy and paste the commands that are executed. In the shlex module there is an inverse shell parser which will add quotes as needed. This would make the output nicer and more readable for people used to shell scripts.
Currently we have the
' '.join(command)
thing in the debug output. This means that one cannot directly copy and paste the commands that are executed. In theshlex
module there is an inverse shell parser which will add quotes as needed. This would make the output nicer and more readable for people used to shell scripts.