Phil for Humanity Phil for Humanity
A Guide for the Survival of Humankind and Helping the World, Society, and Yourself.

Wrapper Script

Ever run some commands that take a very long time to run, such as compiling code? Yet you never notice that the command stopped running. I solved this problem by creating a Python script, called, that runs a single command and then emails the result to the executor of the script.

Here is the script’s usage:


For example, here is how I now compile code.

$ make all

You can download this Python script here, or you can copy-n-paste from down below.

by Phil for Humanity
on 20141002

Related Articles
 » UNIX Support: Recursively GREP
 » Recursive GREP
 » Command Loop