close program with timeout



Hi

How can I close a program after running 5 sec?

The reason is why I'm searching for this, because netdiscover doesn't exit
after finding all the IP's in a network :(
Does "expect" has an option for this? :S

thank you
--
ubuntu-users mailing list
ubuntu-users@xxxxxxxxxxxxxxxx
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users


Relevant Pages

  • Re: HDIO_SET_DMA failed: Operation not permitted
    ... Hash: SHA1 ... >> What is the reason? ... > Did you try searching with google, using text from the message, your ...
    (Fedora)
  • Re: Is Doherty To Blame?
    ... Recruiting away again in Coach Gutridgeville ... Searching for my lost McDonald's AA ... Don't know the reason they stayed here all season ...
    (rec.sport.basketball.college)
  • Re: becoming a daemon
    ... what is the reason to create child and then ... so that the parent won't get SIGCLDs anymore. ... _exit is the system call; exitis the libc wrapper that also ...
    (comp.unix.programmer)
  • Re: Fastest way to search text file for string
    ... I guess the reason why you are ... But I'm gathering from your reaction and style that you likely work in the ... >> searching would generally be limited to one search per file, so reading, ... >> indexing, do several indexed searches, and then expiring the indexing ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: exit options in Debug mode
    ... completely when my program encounters the exit() command (as opposed to ... staying open until user press a key). ... The reason I'm doing this instead of just building in Release mode is ...
    (microsoft.public.vc.language)