makeExecutable method

Future<void> makeExecutable(
  1. File file
)

Implementation

Future<void> makeExecutable(File file) async {
  if (!Platform.isWindows) {
    await processHelper.executeCommand('chmod', ['+x', file.path],
        processMessage: "Granting ${basename(file.path)} execute permission");
  }
}