martax

Function execute()

fun martax.execute(

launchPath: String,

args: [String | Array<String>],

currentDirPath: String? = nil,

environment: Dictionary<String, String>? = nil

)

Execute a program asynchronously.

Example:

martax.execute("/usr/bin/git", "init", "/some/dir")