Mwnci system() Function

Syntax

system(string)

Description

The system() function returns the output of a system command as a string

Example

println(system("hostname"))
println(system("ls /home/doober/bin | grep foo"))

downspout
foo
foobar
foobar2
food
foofoo