Small, but powerful CLI cross-platform app, which may help you deal with problems in various situations. ProcessControl opens multiple processes in a single CLI, redirects those processes output through that single CLI and then closes those processes with single press of a keyboard key.
In Windows - batch does not deliver this functionality, because if you use it regularly e.g. npm run watch
it runs apps in queue and blocks queue until currently running app is finished and if you run batch command with start parameter e.g. start npm run watch
it solves queue blocking problem, but creates new CLI window for every process, which is not convenient and trashes your desktop.
Also ProcessControl can register its own file extension to be executed on files double click (works only on windows).
-c <config_file_name>
- Starts program with custom config file-rego
- Register default config file '.pcconfig' to open on double click (Windows only)-regr
- Register default config file '.pcconfig' to run on double click (Windows only)
If you run this application without additional commands default config file '.pcconfig' of current directory will be used.
ProcessControl is very useful for web project, when one wants to start hosting, watching and other processes with ease and convenience. For example .pcconfig file content:
php artisan view:clear
php artisan serve
npm run watch
- Build ProcessControl application;
- Put binary application files to windows path;
- Create and fill with required actions your .pcconfig file in a working directory you want those actions to run;
- Then every time you want those actions to start just type
pc
command when your CLI is in working directory and ProcessControl will automatically find and execute local .pcconfig file; - Also in Windows you can register .pcconfig file to execute on simple double click by running
pc -regr
command in CLI which registers such action.