process
A pluggable, mockable process invocation abstraction for Dart.
5.0.5
7.7M downloads/mo
#74 most downloaded on pub.dev
dart-lang/tools
What this package is like to depend on
Last release 1 years ago
30 Jul 2025
Release timing varies
gaps range from 9 days to 1.8 years
Most releases are documented
notes for 34 of 40 stable releases
Nothing withdrawn
no release was ever pulled
10 years old
44 releases · first in 2017
0 releases in the last 12 months
see the full history below
Release timeline
44 releases · Jan 2017 to Jul 2025Releases
latest 44-
5.0.530 Jul 2025 -
5.0.421 May 2025Release notes
Open source →- Updates minimum supported SDK version to Flutter 3.22/Dart 3.4.
- Move the package into the
dart-lang/toolsrepository. - Bumped min SDK dependency to 3.5.0.
-
5.0.304 Nov 2024Release notes
Open source →- Adds
missing_code_block_language_in_doc_commentlint. - Updates minimum supported SDK version to Flutter 3.19/Dart 3.3.
- Adds
-
5.0.204 Jan 2024Release notes
Open source →- Removes mention of the removed record/replay feature from README.
- Updates minimum supported SDK version to Flutter 3.10/Dart 3.0.
- Fixes new lint warnings.
-
5.0.109 Oct 2023Release notes
Open source →- Transfers the package source from https://github.com/google/process.dart to https://github.com/flutter/packages.
-
5.0.009 Aug 2023Release notes
Open source →- Remove the
covariantkeyword fromstderrEncodingandstdoutEncodingparameters. - Update dependencies to work on Dart 3.
- Bumped min SDK dependency to nearest non-prerelease version (2.14.0)
- Remove the
-
4.2.418 Oct 2021Release notes
Open source →- Mark
stderrEncodingandstdoutEncodingparameters as nullable again, now that the upstream SDK issue has been fixed.
- Mark
-
4.2.326 Jul 2021Release notes
Open source →- Rollback to version 4.2.1 (https://github.com/google/process.dart/issues/64)
-
4.2.226 Jul 2021 -
4.2.124 Mar 2021Release notes
Open source →- Added custom exception types
ProcessPackageExceptionandProcessPackageExecutableNotFoundExceptionto provide extra information from exception conditions.
- Added custom exception types
-
4.2.023 Mar 2021Release notes
Open source →- Fix the signature of
ProcessManager.canRunto be consistent withLocalProcessManager.
- Fix the signature of
-
4.1.120 Mar 2021Release notes
Open source →- Fixed
getExecutablePath()to only return path items that are executable and readable to the user.
- Fixed
-
4.1.012 Feb 2021Release notes
Open source →- Fix the signatures of
ProcessManager.run,.runSync, and.startto be consistent withLocalProcessManager's. - Added more details to the
ArgumentErrorthrown when a command cannot be resolved to an executable.
- Fix the signatures of
-
4.0.003 Feb 2021 -
4.0.0-nullsafety.404 Nov 2020 pre-release -
4.0.0-nullsafety.322 Oct 2020 pre-release -
4.0.0-nullsafety.222 Sep 2020 pre-release -
4.0.0-nullsafety.111 Aug 2020 pre-releaseRelease notes
Open source →- Migrate to null-safety.
- Remove record/replay functionality.
- Remove implicit casts in preparation for null-safety.
- Remove dependency on
package:intlandpackage:meta.
-
3.0.1315 May 2020 -
3.0.1205 Sep 2019 -
3.0.1109 Aug 2019 -
3.0.1006 Aug 2019Release notes
Open source →- Added quoted strings to indicate where the command name ends and the arguments begin otherwise, the file name is ambiguous on Windows.
-
3.0.909 Nov 2018 -
3.0.808 Nov 2018 -
3.0.708 Nov 2018 -
3.0.608 Nov 2018 -
3.0.513 Aug 2018 -
3.0.413 Aug 2018 -
3.0.324 Jul 2018 -
3.0.110 Apr 2018 -
3.0.009 Apr 2018Release notes
Open source →- Adds discovery API to find both a configuration and its location:
findPackageConfigAndFileandfindPackageConfigAndUri. - Removes support for the
.packagesfile.
The Dart SDK no longer supports that file, and no new.packagesfiles
will be generated.
Since the SDK requirement for this package is above 3.0.0,
no supporting SDK can use or generate.packages. - Simplifies API that no longer needs to support two separate files.
- Renamed
readAnyConfigFiletoreadConfigFile, and removed
thepreferNewestparameter. - Same for
readAnyConfigFileUriwhich becomesreadConfigFileUri. - Old functions still exists as deprecated, forwarding to the new
functions without thepreferNewestargument.
MakesPackageConfig,PackageandLanguageVersion@sealedclasses,
in preparation for making themfinalin a future update.
- Renamed
- Adds
PackageConfig.minVersionto complement.maxVersion.
Currently both are2.
- Adds discovery API to find both a configuration and its location:
-
2.0.920 Mar 2018Release notes
Open source →- Bumped
package:filedependency
2.0.8
- Fixed method getArguments to qualify the map method with the specific String type
2.0.7
- Remove
set exitCodeinstances
2.0.6
- Fix SDK constraint.
- rename .analysis_options file to analaysis_options.yaml.
- Use covariant in place of @checked.
- Update comment style generics.
2.0.5
- Bumped maximum Dart SDK version to 2.0.0-dev.infinity
2.0.4
- relax dependency requirement for
intl
2.0.3
- relax dependency requirement for
platform
- Bumped
-
2.0.807 Mar 2018Nothing published for this version
-
2.0.702 Jan 2018Nothing published for this version
-
2.0.601 Nov 2017Nothing published for this version
-
2.0.513 Jul 2017Nothing published for this version
-
2.0.411 Jul 2017Nothing published for this version
-
2.0.305 Apr 2017Nothing published for this version
-
2.0.227 Mar 2017Release notes
Open source →- Fix a strong mode function expression return type inference bug with Dart 1.23.0-dev.10.0.
-
2.0.113 Feb 2017Release notes
Open source →- Fixed bug in
ReplayProcessManagerwhereby it could try to write tostdoutorstderrafter the streams were closed.
- Fixed bug in
-
2.0.013 Feb 2017 -
1.1.011 Feb 2017 -
1.0.124 Jan 2017Release notes
Open source →- The
executableandargumentsparameters have been merged into onecommandparameter in therun,runSync, andstartmethods ofProcessManager. - Added support for sanitization of command elements in
RecordingProcessManagerandReplayProcessManagervia theCommandElementclass.
- The
-
1.0.021 Jan 2017