system_tasks_dart 0.2.0

Dart native
Flutter Android iOS

Get a list of system processes, and you can kill, start, restart a process

Get a list of system processes, and you can kill, start, restart a process

Inspired by system-task

Install #

dependencies:
  system_tasks_dart:

Usage #

A simple usage example:

import 'package:system_tasks_dart/system_tasks_dart.dart';

void main() {
  SystemTasks.tasks().then((ps) {
    var p = ps.firstWhere((p) => p.pname.toLowerCase() == 'code.exe');
    if (p != null) {
      p.reStartLinks();
    }
  });
}

test #

pub run test ./test/system_tasks_dart_test.dart
0
likes
80
pub points
0%
popularity

Get a list of system processes, and you can kill, start, restart a process

Repository (GitHub)
View/report issues

Documentation

API reference

Uploader

ajanuw1995@gmail.com

License

MIT (LICENSE)

Dependencies

process_run

More

Packages that depend on system_tasks_dart