Skip to content

A quick and dirty utility to run multiple shell commands in parrallel and inspect their stdout logs.

License

Notifications You must be signed in to change notification settings

brahms116/processMyFace

Repository files navigation

Practise project in haskell

ProcessMyFace

A quick and primitive utility to run multiple shell commands in parrallel and inspect their stdout logs.

demo

How to install

I dunno.

How to use

Tasks and commands are specified via a json file in this format

{
  "tasks": [
    {
      "command": "./start_server.sh", // The command to run
      "cwd": "../server_directory", // The directory to run it in (optional)
      "name": "blog_task" // The name of the task
    },
    {
      "command": "echo 'hello world'",
      "name": "hello_world"
    }
  ]
}

You can then specify the path to this json file.

processMyFace ./path/to/json/file.json

Caveats

For demo and personal use, not very refined, very hacky, uses a log file to store the stdout of processes, so please don't blow out your storage by having lots of stdout. Only works on MacOs currently I think :(

About

A quick and dirty utility to run multiple shell commands in parrallel and inspect their stdout logs.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published