How to escape "\" in exec.Command in Golang? : <p>I want to execute </p>

<pre><code>cat database_dump_1.sql | docker exec -i my_postgres psql -U postgres
</code></pre>

<p>using exec.Command method of Golang.</p>

<p>My code goes like this :</p>

<pre><code>options := []string{"out.sql", "|", "docker", "exec", "-i", "my_postgres", "psql", "-U", "postgres"}
    cmd, err := exec.Command("cat", options...).Output()
    if err != nil {
        panic(err)
    }
    fmt.Println(string(cmd))
</code></pre>

<p>but this fails. I guess I am not able to escape "|". I have tried "\|", but this also fails.
What am I doing wrong??</p>
