Data update
This commit is contained in:
parent
81fd053722
commit
52a6ef48dd
10248 changed files with 63654 additions and 6775 deletions
|
|
@ -0,0 +1,16 @@
|
|||
uses System.Diagnostics;
|
||||
|
||||
begin
|
||||
var pr := new Process();
|
||||
var startInfo := new ProcessStartInfo();
|
||||
startInfo.WindowStyle := ProcessWindowStyle.Hidden;
|
||||
startInfo.FileName := 'cmd.exe';
|
||||
startInfo.Arguments := '/c echo Hello World';
|
||||
startInfo.RedirectStandardOutput := true;
|
||||
startInfo.UseShellExecute := false;
|
||||
pr.StartInfo := startInfo;
|
||||
pr.Start;
|
||||
|
||||
var output := pr.StandardOutput.ReadToEnd;
|
||||
Print($'Output is {output}');
|
||||
end.
|
||||
|
|
@ -0,0 +1,6 @@
|
|||
import os
|
||||
|
||||
fn main() {
|
||||
output := os.execute_opt("ls -l") or {panic(err)}
|
||||
println(output)
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue