where 4.2.0 copy "where: ^4.2.0" to clipboard
where: ^4.2.0 copied to clipboard

discontinued
outdated

Find the instances of an executable in the system path.

example/main.dart

import 'dart:async';
import 'package:where/where.dart';

/// Finds the instances of an executable. 
Future<void> main() async {
  try {
    // `path` is the absolute path to the executable.
    var path = await where('foobar');
    print('The command "foobar" is located at: $path');
  }

  on FinderException catch (err) {
    print('The command "${err.command}" is not found');
  }
}
3
likes
0
pub points
8%
popularity

Publisher

verified publisherbelin.io

Find the instances of an executable in the system path.

Homepage

Documentation

Documentation

License

unknown (license)

Dependencies

args, meta, path, yaml

More

Packages that depend on where