Spencer Nold
Spencer Nold

Reputation: 21

Am I able to run commands from flutter?

What I'm trying to do is run a program from my Windows/Mac flutter applications. Is there something similar to Process in java or the exec package in Go for Dart/Flutter?

The googling I have done has only led to descriptions of how to use the flutter command, and that is NOT what I am looking for.

Upvotes: 1

Views: 528

Answers (1)

Spencer Nold
Spencer Nold

Reputation: 21

In dart:io, Process.run and Process.start, depending on the purpose of your program.

https://api.dart.dev/stable/2.17.3/dart-io/dart-io-library.html

Upvotes: 1

Related Questions