Question: Slice of strings as multiple strings

Written by
Link to Post by 

I have a problem, I want to pass some arguments to exec.Command and exec.Command expects strings separated by a comma but I only have a slice of strings. If I join them, they would be one string which is not what I want.

So my question is: How do I use a slice of strings as multiple strings?

Thank you in advance.

submitted by /u/lucaoam
[link] [comments]

Article Tags:
· ·
Article Categories:

Leave a Reply