Sign in to follow this  
Followers 0
toxicvn

kill process

6 posts in this topic

:(

hello ,all

i run firefox with commnadline :

"V:\toxicvn\FirefoxPortale\App\firefox.exe" -profile "V:\toxicvn\FirefoxPortale\Settings\ppp1

"V:\toxicvn\FirefoxPortale\App\firefox.exe" -profile "V:\toxicvn\FirefoxPortale\Settings\ppp2

i want kill V:\toxicvn\FirefoxPortale\App\firefox.exe" -profile "V:\toxicvn\FirefoxPortale\Settings\ppp1

i see use ProcessClose(firefox.exe) but it kill (firefox _ ppp2)

if use

$list = ProcessList(firefox.exe)

for $i = 1 to $list[0][0]

msgbox(0, $list[$i][0], $list[$i][1])

next

i can't see : which is firefox _ppp1 ?

have anyway to kill (firefox _ ppp1) when run both ?

thanks

Share this post


Link to post
Share on other sites



#2 ·  Posted (edited)

Kill the process with PID

e.g.

$PID = Run(somthing) 
ProcessClose($PID)
Edited by MiserableLife

Share this post


Link to post
Share on other sites

#3 ·  Posted (edited)

- Edit

You want to kill that particular profile for firefox.

PID's have a way of changing. Not sure how to do that - sorry.

- edit 2

from:

Documents and Settings\"username"\Application Data\Mozilla\Firefox\profile.ini

------------------------------

[General]

StartWithLastProfile=1

[Profile0]

Name=default

IsRelative=1

Path=Profiles/dt97sivv.default

------------------------------

Seems to me that one could change profiles this way

.

Edited by ripdad

"Today's scientists have substituted mathematics for experiments, and they wander off through equation after equation, and eventually build a structure which has no relation to reality." ~ Nikola Tesla

Share this post


Link to post
Share on other sites

It would be interesting to know how to get the param that launches the process.

Share this post


Link to post
Share on other sites

See Run (which returns a PID) and ProcessClose (which takes a PID as argument) in the helpfile.


- Bruce /*somdcomputerguy */  If you change the way you look at things, the things you look at change.

Share this post


Link to post
Share on other sites

if i restart FF so PID it will change :(

seem haven't anyway ? :)

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  
Followers 0