system_tasks_dart 0.2.0 copy "system_tasks_dart: ^0.2.0" to clipboard
system_tasks_dart: ^0.2.0 copied to clipboard

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

example/system_tasks_dart_example.dart

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.reStartLikes();
    }
  });
}
1
likes
40
pub points
0%
popularity

Publisher

verified publisherajanuw.lol

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

Repository (GitHub)
View/report issues

License

MIT (LICENSE)

Dependencies

process_run

More

Packages that depend on system_tasks_dart