Home | Blog | Software | Reviews and Features | Forum | Help | Donate | About us
topbanner_forum
  *

avatar image

Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
  • December 09, 2016, 01:53:24 AM
  • Proudly celebrating 10 years online.
  • Donate now to become a lifetime supporting member of the site and get a non-expiring license key for all of our programs.
  • donate

Author Topic: IDEA: Proxy launcher which closes app when its "done"  (Read 3645 times)

mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 36,421
    • View Profile
    • Mouser's Software Zone on DonationCoder.com
    • Read more about this member.
    • Donate to Member
IDEA: Proxy launcher which closes app when its "done"
« on: November 02, 2005, 05:21:58 AM »
this request was inspired by a post from turtlleboy here: http://www.donationc...dex.php?topic=1394.0

Quote
..a program that could sense when a program has completed it's function (or goes idle) and then closes that program..

i think a commandline program that can launch another program (with normal args), but be given some instructions about when to shut down that program.

you might want to use it to launch a program and kill it after x minutes, or kill it if it uses too much cpu, or as turtleboy suggested, close it after some period of 'inactivity'.

so im thinking somthing like

RunAndClose.exe 'notepad.exe myfile.txt' -closeafter 10minutes -closeafterinactivefor 2minutes

skrommel

  • Fastest code in the west
  • Developer
  • Joined in 2005
  • ***
  • Posts: 886
    • View Profile
    • 1 Hour Software by skrommel
    • Donate to Member
Re: IDEA: Proxy launcher which closes app when its "done"
« Reply #1 on: November 02, 2005, 06:06:02 AM »
 :) My ProcessGuard can sort of do this, but maybe it's overkill?

Skrommel
Please stop by my site at  1 Hour Software by skrommel  for downloads and more info.
« Last Edit: November 02, 2005, 07:12:25 AM by skrommel »