Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Php check if executable is running

Is it possible in Php to check wether an executable is running or not,

some Pseudocode:

if (processExists("notepad.exe")) {
    echo "exists";
} else {
    echo "doesn't exist";
}
like image 808
utdev Avatar asked Apr 09 '26 23:04

utdev


1 Answers

You would only be able to check server-side processes, where PHP is running. JavaScript (client-side) isn't allowed that kind of access because of security.

like image 176
Jay Blanchard Avatar answered Apr 11 '26 14:04

Jay Blanchard



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!