exec method
dynamic
exec(})
override
Implementation
@override
exec(final String command,
{external = false, String? path, final Shell? shell}) async {
log("ScriptRunner", "Running Command", data: command);
if (!external) {
final output = await execCommand(command, path: path, shell: shell);
log("ScriptRunner", command, data: output);
// notifyChange();
return output;
} else {
final result = await runExternalCommand(command, path);
notifyListeners();
return result;
}
}