title: Passing Password as an argument to psql command in NSIS
body: <p>I am trying to pass an input password to a sql command in NSIS. 
  If I run psql on command line, its like:</p>
  
  <pre><code> psql -U postgres -v V1=username -v V2="'dbpassword'" -w -f "path\file.sql"
  </code></pre>
  
  <p>The sql file consists of the following relevant command:</p>
  
  <pre><code>CREATE USER :V1 WITH PASSWORD :V2 LOGIN NOSUPERUSER IN GROUP postgres;
  </code></pre>
  
  <p>How do I execute the same command in NSIS using variables? I tried the following but that won't work</p>
  
  <pre><code>nsExec::Exec 'psql -U postgres -v V1=$username -v V2=$dbpassword -w -f "path\file.sql"'
  </code></pre>
  
  <p>If I use <code>"'$dbpassword'"</code> it wont compile.</p>