run static method
Implementation
static Future<ProcessResult> run(
String command,
List<String> args, {
String? workingDirectory,
}) => Process.run(
Platform.environment['SHELL'] ?? '/bin/bash',
[
'-lc',
[
shellEscape(expandPath(command)),
...args.map((a) => shellEscape(expandPath(a))),
].join(' '),
],
workingDirectory: workingDirectory,
);