This post was orginally written on and was in OCaml I wanted to use a timeout in OCaml for some shell coding but I didn’t want to…...