Skip to content

Latest commit

 

History

History
15 lines (10 loc) · 390 Bytes

README.md

File metadata and controls

15 lines (10 loc) · 390 Bytes

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"]
}