FLUTTER ECOSYSTEM

process_run

Process run helpers for Linux/Win/Mac and which like feature for finding executables.

Latest version
1.3.3
30-day downloads
182.5K
Likes
354
Pub points
160

Package Overview

Selection guidance generated from public package information. For reference only.

Overview

A Dart package that provides convenient helpers for running system processes across Linux, Windows, and macOS. It includes utilities for executing commands, managing process output, and locating executables using a 'which'-like feature. Designed for cross-platform desktop development, it simplifies automation tasks such as running shell scripts, compiling code, or interacting with command-line tools. The package integrates seamlessly with Flutter projects targeting desktop platforms.

Use cases
  • Running shell commands from Flutter apps
  • Automating build and deployment workflows
  • Executing external CLI tools
  • Cross-platform script execution
  • Managing process input/output streams
Key features
  • Cross-platform process execution
  • 'which' utility for finding executables
  • Simple API for running commands
  • Support for stdin/stdout/stderr handling
  • Integration with Flutter desktop targets
Suitable for
  • Desktop automation in Flutter apps
  • CI/CD pipeline scripting
  • Tooling and build systems
  • Developers targeting multiple operating systems
  • Command-line tool integration
Considerations
  • Limited to desktop platforms (not mobile)
  • Requires proper permissions for system commands
  • May need error handling for non-existent executables
  • Not optimized for high-frequency process spawning
  • Depends on platform-specific system calls
Supported platformsAndroidiOSmacOSWindowsLinux

Install package

flutter pub add process_run

Categories

Source repository

Related projects

Rankings