 <p>Point 1: I think you need at least some quotes around the connection string: </p> <pre><code> myProcess.StartInfo.Arguments = "/mode:fullgeneration \"/c:"+cs+"\" project:School ..."; </code></pre> <p>But do examine the resulting Arguments string in the debugger to see if everything is allright.</p> <p>For point 2, see <a href="http://stackoverflow.com/questions/206323/how-to-execute-command-line-in-c-get-std-out-results">this SO question</a>.</p>