Start A Process With Parameters
Process.Start()
has several overloads, one of them is for specifying the command-line arguments along with the path to the executable.
For example:
Process.Start("app.exe", "parameter(s)");
You can do this by assigning arguments in start info, e.g.:
var process = new Process
{
StartInfo =
{
FileName = processName,
Arguments = "-username=Alice"
}
};
process.Start();
If your process fails to start you might want to check permissions, as far as I am aware code running on IIS is not allowed to do that.