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

Invoke operating system commands. Exposes `system()` on macOS & Linux. Uses `dart:ffi`.

Use this package as a library

Depend on it

Run this command:

With Dart:

 $ dart pub add system

With Flutter:

 $ flutter pub add system

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

dependencies:
  system: ^1.0.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/system.dart';
11
likes
130
pub points
33%
popularity

Publisher

verified publishermiksen.dk

Invoke operating system commands. Exposes `system()` on macOS & Linux. Uses `dart:ffi`.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (LICENSE)

Dependencies

ffi

More

Packages that depend on system