Execute a system command: Difference between revisions

(→‎{{header|Forth}}: ++ fortran)
Line 53:
 
=={{header|C sharp|C#}}==
Using Windows / .NET:
<lang csharp>using System.Diagnostics;
 
namespace Execute
{
class Program
{
static void Main(string[] args)
{
Process.Start("cmd.exe", "/c dir");
}
}
}</lang>
 
{{works with|MCS|1.2.3.1}}
<lang csharp>using System;
class Execute {
Line 63 ⟶ 77:
proc.Start();
}
}</lang>
 
=={{header|dc}}==
Anonymous user