For example, to have rschit process excell.exe means Perl.
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
If this is about the process remaining around in “server mode” after automation, you can just call the
quitmethod on the application object. I edited by answer at How can I run a macro in an Excel file I open with Perl? to include that. (You know, I thought if I told you that it was anApplicationobject, you could read the MS documentation on that object to figure out what you wanted to do. )However, you can kill a process in windows with
taskkill.exe. You can read up by typingtaskkill /?on the command line. It will handletaskkill /IM excel.exe.But if you want a specific PID, you need to use
tasklist.exe. (Typetasklistat the command prompt to see the output. Ortasklist /?for more information.)The code below uses both: