New modules.
WrenCI / linux (push) Waiting to run
WrenCI / mac (push) Waiting to run
WrenCI / windows (push) Waiting to run

This commit is contained in:
2026-01-24 19:35:43 +01:00
parent 1a08b3adf0
commit 236d69c2d7
118 changed files with 315687 additions and 6 deletions
+16
View File
@@ -0,0 +1,16 @@
// retoor <retoor@molodetz.nl>
import "subprocess" for Subprocess, ProcessResult
var result = Subprocess.run("echo hello")
System.print(result is ProcessResult) // expect: true
System.print(result.success) // expect: true
System.print(result.exitCode) // expect: 0
System.print(result.stdout.trim()) // expect: hello
var result2 = Subprocess.run(["/bin/echo", "world"])
System.print(result2.stdout.trim()) // expect: world
var result3 = Subprocess.run("exit 42")
System.print(result3.success) // expect: false
System.print(result3.exitCode) // expect: 42