Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Recent content by Damora

  1. Damora

    Process execution & kill

    Sorry, I thought it worked but I have realized that it dose not. Your solution only sleeps the process (stops it for 10 seconds), but what I really want is the process to be executed "in the background" and kill it after the mentioned 10 seconds. That is why I told that alarm() might...
  2. Damora

    Process execution & kill

    Thank you very much, it works!!! I am afraid my search into de Unix C manual has been unuseful, and I would have been lost for years. Had it not been for you... Thanks again!!!
  3. Damora

    Process execution & kill

    Hello everybody! My problem is that I must execute an executable file. This one may hang - as it is a compiled Pascal program that might contain an infinite loop - , so I must limit its execution time to , let us say, 10 seconds. After that time, the process must be killed. I am almost sure that...

Part and Inventory Search

Back
Top