Jump to content

Is there a way to know what process opened by a process started with run(


Recommended Posts

Hello..

I've build something that automatically start a process when I dont use my PC..

And it kill's it when I move he mouse..

Now I start my process with

$Pid = run(@scriptdir & "1.exe" ...)

And I end it with

processclose($Pid)

My problem is that sometimes 1.exe start other processes and I need my program to end those process also when I move my mouse.

Is there a wway to know what processes started by 1.exe , I mean with the processs $Pid

Am I understood?

I think there is no way right?>

Edited by oren
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...