Executes an external command and waits for completion.
Example:
bool ok = Process.exec ("sh", { "-c", "exit 0" });
assert (ok == true);
| cmd |
command path or executable name. |
| args |
command arguments. |
|
true when the process exits with status 0. |