I have a process, which takes some arguments. I want it to start from C#. I have tried the same arguments in shortcut and it works. On the other hand, in c# it doesnt, so here are the arguments. The argument format is correct, but i get a wrong argument error at -k
ProcessStartInfo prf = new ProcessStartInfo("C:\\" + "argstest.exe");
prf.UseShellExecute =true;
prf.Arguments = "-l http://test.tes1:testa@testb.testing.com:3333/ -k testing TYPE=0 USER=1 COUNT=10";
Process.Start(prf);
Process starts, but closes instantly, because the -k argument which should be testing doesnt get sent to program. I have tried adding a " " space before -l but same, also tried @" -l ..."