I have a very simple question, is it possible in execline to wait up to a maximum amount of time to finish a background program execution? And if it didn't finish, kill it forcibly?
Something like this: background { whatever... } wait -t ${MAX_TIME} { ${!} } foreground { kill -9 ${i} } prog Or how can I achieve this behaviour? Thanks!