Run command from c# | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

Run command from c#

how to excute command from c# like a command to run xmgrace or gnuplot i have searched but i only found big script " lots of line " it wouldn't be good to add all those on my code just to call xmgrace . I want to run xmgrace to plot a graph

3rd Mar 2019, 10:06 PM
Zamoslovski
2 Answers
0
Can you use Process.start() ProcessStartInfo startInfo = new ProcessStartInfo(); startInfo.FileName = "WINWORD.EXE"; startInfo.Arguments = file; Process.Start(startInfo); https://www.dotnetperls.com/process
4th Mar 2019, 7:47 PM
sneeze
sneeze - avatar
0
Thank you
6th Mar 2019, 5:27 AM
Zamoslovski