executable 1.0.0 copy "executable: ^1.0.0" to clipboard
executable: ^1.0.0 copied to clipboard

Simple dart class to deal with executables

example/executable_example.dart

import 'package:executable/executable.dart';

void main()  {
  final cp = Executable('cp');
  if (cp.existsSync()) {
    final path = cp.findSync();
    print('The path to ${cp.cmd} executable is $path.');
  } else {
    print('The executable ${cp.cmd} was not found on your system.');
  }
}
5
likes
0
pub points
9%
popularity

Publisher

verified publisherhelio.me

Simple dart class to deal with executables

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

process_run

More

Packages that depend on executable