Ptimeout
Bun

property

child_process.ForkOptions.timeout

timeout?: number

In milliseconds the maximum amount of time the process is allowed to run.