Split splits a command string into a slice of arguments.
This is especially important for commands such as:
/bin/sh -c "echo hello"
which should be split into: ["/bin/sh", "-c", "echo hello"]
It supports backslash-escapes, single-quotes and double-quotes.
It does not support:
- the $" quoting style.
- expansion (brace, shell or pathname).
Start launches a command and streams stdout and stderr to channels.
All the channels returned are ready only and won't be closed
if the command fails later.