KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
public static void launchProcess(string processName, string arguments, out string output) { Process p = new Process { StartInfo = { UseShellExecute = false, RedirectStandardOutput = true, FileName = processName, Arguments = arguments } }; p.Start(); output = p.StandardOutput.ReadToEnd(); p.WaitForExit(); } And if my arguments contains the file names like: D:\Visual Studio Projects\ProjectOnTFS\ProjectOnTFS Then I get the error:
Tags (comma-separated)
Save Edits
Cancel