system_command_runner 0.1.0 copy "system_command_runner: ^0.1.0" to clipboard
system_command_runner: ^0.1.0 copied to clipboard

A lightweight, testable wrapper around Process.run for executing system commands with cross-platform support and easy mocking.

Use this package as a library

Depend on it

Run this command:

With Dart:

 $ dart pub add system_command_runner

With Flutter:

 $ flutter pub add system_command_runner

This will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get):

dependencies:
  system_command_runner: ^0.1.0

Alternatively, your editor might support dart pub get or flutter pub get. Check the docs for your editor to learn more.

Import it

Now in your Dart code, you can use:

import 'package:system_command_runner/system_command_runner.dart';
0
likes
160
points
64
downloads

Publisher

verified publisherfluttered.io

Weekly Downloads

A lightweight, testable wrapper around Process.run for executing system commands with cross-platform support and easy mocking.

Repository (GitHub)
View/report issues

Topics

#system #command #shell #testing

Documentation

API reference

License

MIT (license)

Dependencies

meta

More

Packages that depend on system_command_runner