commandline_splitter 1.5.2

Dart native js
Flutter Android iOS web

Splits command line string into a list of individual parts suitable for using with Process.start or Process.run.

Command line splitter #

Splits command line string into a list of individual parts suitable for using with Process.start or Process.run.

Similar to shlex.split in python.

Example #

import 'package:commandline_splitter/commandline_splitter.dart';

main() {
  print(split('bash -c "uname -a"')); // => [bash, -c, "uname -a"]
}
1
likes
110
pub points
43%
popularity

Splits command line string into a list of individual parts suitable for using with Process.start or Process.run.

Repository (GitHub)
View/report issues

Documentation

API reference

Uploader

tejainece@gmail.com

License

BSD (LICENSE)

More

Packages that depend on commandline_splitter