Skip to content

Latest commit

 

History

History
45 lines (30 loc) · 926 Bytes

README.md

File metadata and controls

45 lines (30 loc) · 926 Bytes

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 :(