ProcessRunPermission.namedExecutable constructor

ProcessRunPermission.namedExecutable(
  1. String executable
)

Create a new process run permission that matches a specific executable name in any directory.

Implementation

factory ProcessRunPermission.namedExecutable(String executable) {
  return ProcessRunPermission(RegExp('$executable\$'));
}