title: How can I pass a slice as a variadic input?
body: <p>I have a function <code>func more(... t)</code>. I'm wondering if it's possible to use a slice to populate a list of arguments <code>...</code> . </p>
  
  <p>I'm trying to solve the following program. Basically to mimic a normal shell which receives the command as a string.
   <a href="http://golang.org/pkg/os/exec/#Command" rel="noreferrer">Command</a> function requires a "list" of arguments and I don't see how I can convert a string into a such list </p>
  
  <pre><code>    import "os/exec"
      import "strings"
      func main(){
          plainCommand  := "echo hello world"
          sliceA := strings.Fields(plainCommand)
          cmd := exec.Command(sliceA)
      }
  </code></pre>