Jump to content
Sign in to follow this  

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

Recommended Posts



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


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

Share this post

Link to post
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
Sign in to follow this  


Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.