Garden 🌻

__shell.gdn::run()

Execute the given string as a shell command, and return a tuple of the exit code, stdout and stderr.

The exit code is -1 if the command could not be spawned or was terminated by a signal.

Example
import "__shell.gdn" as shell
shell::run("ls", ["-l", "/"])
Source Code
public fun run(command: String, args: List<String>): (Int, String, String) {
  __BUILT_IN_IMPLEMENTATION
}