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

outdated

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

Build Status

Launch system operating system commands. Supported on Linux and macOS.

This is a wrapper around system.3: https://man.openbsd.org/system.3

Example uses #

For a runable example, see example/main.dart.

Possible uses include:

  • System.invoke('open <Url>');: Open <Url> in the system default web browser.

Notes #

For calling regular shell commands, it's recommended to use dart:io's Process.run() method. This allows you to get the standard output and supply standard input.

11
likes
0
pub points
28%
popularity

Publisher

verified publishermiksen.dk

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

Repository (GitHub)
View/report issues

License

unknown (LICENSE)

Dependencies

ffi

More

Packages that depend on system