Man page for texec.1
Table of Contents

NAME

texec - execute a program with a time limit

SYNOPSIS

texec [ -tN | -sN | -mN | -hN ] [ -v ] program [ arguments ]

DESCRIPTION

The texec program executes program with a specified time limit. If the program runs for longer than the maximum time, it will be terminated. This is useful for running regression tests with a compiler that may generate code with infinite loops. The default time limit is infinity. The arguments are passed to the program.

OPTIONS

-tN
-sN Set the time limit to N seconds.

-mN
Set the time limit to N minutes.

-hN
Set the time limit to N hours.

-v
Print the execution time when the program is terminated.


Table of Contents