chmod static method
Runs a chmod
command against the filePath
in the workingDir
using the provided perms
Implementation
static bool chmod(String perms, String filePath, [String? workingDir]) {
return Process.runSync('chmod', [perms, filePath],
workingDirectory: workingDir)
.exitCode ==
0;
}