diff --git a/packages/process_run/CHANGELOG.md b/packages/process_run/CHANGELOG.md index 672e05b..33c41d2 100644 --- a/packages/process_run/CHANGELOG.md +++ b/packages/process_run/CHANGELOG.md @@ -1,6 +1,6 @@ -## 1.2.2-0 +## 1.2.2 -* Special kill behavior on linux when using sigkill (kills all children too) +* Special kill behavior on linux, mac and windows when using sigkill (kills all children too) ## 1.2.1+1 diff --git a/packages/process_run/lib/src/shell.dart b/packages/process_run/lib/src/shell.dart index 7c48c47..1f60639 100644 --- a/packages/process_run/lib/src/shell.dart +++ b/packages/process_run/lib/src/shell.dart @@ -309,7 +309,6 @@ abstract class Shell implements ShellCore, ShellCoreSync { } else if (io.Platform.isWindows) { try { /// Kill the children - var pid = _currentProcess!.pid; // Kill children process // /pid Specifies the process ID of the process to be terminated. // /f Specifies that processes be forcefully ended. This parameter is ignored for remote processes; all remote processes are forcefully ended. diff --git a/packages/process_run/pubspec.yaml b/packages/process_run/pubspec.yaml index d0fc72c..10043f2 100644 --- a/packages/process_run/pubspec.yaml +++ b/packages/process_run/pubspec.yaml @@ -1,5 +1,5 @@ name: process_run -version: 1.2.2-0 +version: 1.2.2 description: Process run helpers for Linux/Win/Mac and which like feature for finding executables. homepage: https://github.com/tekartik/process_run.dart/blob/master/packages/process_run