Terminate process, wrong path?

delphi package - easy access to kernel objects etc.

Terminate process, wrong path?

Postby ira » Tue Dec 23, 2014 10:23 am

Processes(fn).Terminate;

fn is d:\explorer.exe

Run the program, explorer.exe in C:\Windows also got killed.

Solution?

Thanks.
ira
 
Posts: 49
Joined: Mon Dec 14, 2009 6:29 am

Re: Terminate process, wrong path?

Postby madshi » Tue Jan 20, 2015 7:49 pm

Which OS are we talking about? Can you reproduce this with a small test project?
madshi
Site Admin
 
Posts: 9265
Joined: Sun Mar 21, 2004 5:25 pm

Re: Terminate process, wrong path?

Postby ira » Thu Jan 29, 2015 7:38 am

Tried on Windows 7 Ultimate SP1 x64.

Rename any program to explorer.exe and put it on d:, run it, kill with Processes('d:\explorer.exe').Terminate;

Explorer.exe in C:\Windows folder also got killed.
ira
 
Posts: 49
Joined: Mon Dec 14, 2009 6:29 am

Re: Terminate process, wrong path?

Postby madshi » Tue Mar 03, 2015 2:09 pm

This problem should be fixed in the next build (should be released in a couple of days).
madshi
Site Admin
 
Posts: 9265
Joined: Sun Mar 21, 2004 5:25 pm


Return to madKernel

Who is online

Users browsing this forum: No registered users and 1 guest

cron