View Single Post
Old 27th August 2021, 15:35   #1
Marbled
Junior Member
 
Join Date: Dec 2015
Posts: 24
nsProcess, is there a way to exclude processes?

Hi!

I recently added to one of the install scripts I made a call to nsProcess::KillProcess...

I have a small problem though, the name of the process I want to kill and the name of the install program is the same.

Now if it was a first release of this application I could make sure the names are different but we have been using those names for a while now and renaming them would be kind of a pain...

Is it possible to exclude the current running process from the list of processes killed by nsProcess::KillProcess?

Thank you and have a nice day!

Nick
Marbled is offline   Reply With Quote