c# launching exe with arguments

//var proc = new Process
            //{
            //    StartInfo = new ProcessStartInfo
            //    {
            //        //FileName = @"C:\SVN_Works\Unit Converter\2in1\TwoinOne\bin\Release\TwoinOne.exe",
            //        FileName = "http://de08u8979:5771/test/TwoinOne.exe",
            //        Arguments = "conversion 1,2,3 kg g",
            //        UseShellExecute = false,
            //        RedirectStandardOutput = true,
            //        CreateNoWindow = true
            //    }
            //};
            //proc.Start();
            //while (!proc.StandardOutput.EndOfStream)
            //{
            //    string line = proc.StandardOutput.ReadLine();
            //}

Comments