- Add a
deepCopyLinksargument tocopyPathandcopyPathSync. - Remove the
@visibleForTestingannotation fromSharedStdIn. - Potentially Breaking Make the stream parameter required for
SharedStdIn.new.- This is treated as non-breaking because the class was marked as visible for testing only.
- Potentially Breaking
AnsiCodeandAnsiCodeTypemarked final. These were never intended to support subclasses and were already closed for extension with private generative constructors. They are now markedfinaland statically restricted from use as an interface.
- Require Dart 3.4.
- Move to
dart-lang/toolsmonorepo.
- Updates to the readme.
- Revert
metaconstraint to^1.3.0.
- Update
metaconstraint to>=1.3.0 <3.0.0.
- Update code examples to call the unified
dartdeveloper tool.
- Migrate this package to null-safety.
- Require Dart >=2.12.
- Require Dart >=2.1.
- Remove dependency on
package:charcode.
- Fix a number of issues affecting the package score on
pub.dev.
-
Updates for Dart 2 constants. Require at least Dart
2.0.0-dev.54. -
Fix the type of
StartProcesstypedef to matchProcess.startfromdart:io.
-
ansi.dart- The "forScript" code paths now ignore the
ansiOutputEnabledvalue. Affects theescapeForScriptproperty onAnsiCodeand thewrapandwrapWithfunctions whenforScriptis true.
- The "forScript" code paths now ignore the
-
ansi.dart-
Added
forScriptnamed argument to top-levelwrapWithfunction. -
AnsiCode-
Added
String get escapeForScriptproperty. -
Added
forScriptnamed argument towrapfunction.
-
-
- Added
SharedStdIn.nextLine(similar toreadLineSync) andlines:
main() async {
// Prints the first line entered on stdin.
print(await sharedStdIn.nextLine());
// Prints all remaining lines.
await for (final line in sharedStdIn.lines) {
print(line);
}
}-
Added a
copyPathandcopyPathSyncfunction, similar tocp -R. -
Added a dependency on
package:path. -
Added the remaining missing arguments to
ProcessManager.spawnXwhich forward toProcess.start. It is now an interchangeable function for running a process.
- BREAKING CHANGE: The
argumentsargument toProcessManager.spawnis now positional (not named) and required. This makes it more similar to the built-inProcess.start, and easier to use as a drop in replacement:
main() {
processManager.spawn('dart', ['--version']);
}-
Fixed a bug where processes created from
ProcessManager.spawncould not have theirstdout/stderrread through their respective getters (a runtime error was always thrown). -
Added
ProcessMangaer#spawnBackground, which does not forwardstdin. -
Added
ProcessManager#spawnDetached, which does not forward any I/O. -
Added the
shellSplit()function, which parses a list of arguments in the same manner as the POSIX shell.
- Initial commit of...
FutureOr<bool> String isExecutable(path).ExitCodeProcessManagerandSpawnsharedStdInandSharedStdInansi.dartlibrary with support for formatting terminal output