Process vIGILance system that notifies you when your process fails via an e-mail, and is also capable of maintaining a record of all your commands for easier tracking.
Why do you think that https://github.com/h2non/filetype is a good alternative to pigil