Jump to content
Sign in to follow this  
Allow2010

get PID of current process

Recommended Posts

Allow2010

Hi all,

i need to find the PID of my script (like using $pid=ProcessExists( "myscript" )) without using the scriptname (as several scripts of the same name can run at the same time)...

Anyone got an idea how i can get this?

Thanks !

Share this post


Link to post
Share on other sites
Allow2010

thanks...great that there is an easy solution for this:-)

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  

×