I used google but it seems it didin't returned me any relevant links. Same goes for the reommendations here, so I think I have to ask this as a new question.
Can I run an exe command, but with a timeout included? Example:
Run the exe, if it does not end alone within 5 minutes, kill it. The 5 minutes limit is an example, I might want to set it up to 48 hours or something. Is there a way to do it?