I want to write a task which creates a subprocess by specifying a program name and some arguments. godo provides .Bash and .Run, neither of which are appropriate for me, because they seem to mush together arguments into a single string which will cause all kinds of edge-case bugs. I want an interface like that of Command in os/exec, where I can specify the arguments as a list of strings. What is the recommended way to achieve this?
I want to write a task which creates a subprocess by specifying a program name and some arguments.
godoprovides.Bashand.Run, neither of which are appropriate for me, because they seem to mush together arguments into a single string which will cause all kinds of edge-case bugs. I want an interface like that of Command in os/exec, where I can specify the arguments as a list of strings. What is the recommended way to achieve this?