Skip to content

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

License

Notifications You must be signed in to change notification settings

desktop-dart/commandline_splitter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

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

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages