ProcessRunPermission.namedExecutable constructor
ProcessRunPermission.namedExecutable(
- 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\$'));
}