Current Path : /usr/bin/ |
|
Current File : //usr/bin/timed-run |
#!/bin/sh
# \
exec expect -f "$0" ${1+"$@"}
# run a program for a given amount of time
# i.e. time 20 long_running_program
set timeout [lindex $argv 0]
eval spawn [lrange $argv 1 end]
expect
Copyright 2K16 - 2K18 Indonesian Hacker Rulez