This (very minor) issue is regarding this line, where I believe shlex.split(command) would be more appropriate (instead of command.split(' ') (shlex is a builtin module). It would enable commands like --arg1 "Argument 1" --arg2 "Argument 2". It would also be nice if command could be a pre-parsed list.
First things first, great work on the library! 👍
This (very minor) issue is regarding this line, where I believe
shlex.split(command)
would be more appropriate (instead ofcommand.split(' ')
(shlex
is a builtin module). It would enable commands like--arg1 "Argument 1" --arg2 "Argument 2"
. It would also be nice ifcommand
could be a pre-parsed list.