Language pub package pub points CI status

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

This is a wrapper around 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.


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