QB64.org Forum

Active Forums => QB64 Discussion => Topic started by: MLambert on July 13, 2018, 01:49:47 am

Title: How to I end a Chrome
Post by: MLambert on July 13, 2018, 01:49:47 am
Hi ,

I need to end chrome.exe from qb64. I can't get taskill to do it.

Regards,

Mike
Title: Re: How to I end a Chrome
Post by: Pete on July 13, 2018, 02:50:37 am
Try...

SHELL _DONTWAIT "taskkill /f chrome.exe"

I believe _HIDE _DONTWAIT can be used together if a blip of the command window appears without the _HIDE command.

You may experience a crash report by Chrome. This happens with Firefox when taskkill is used.

For additional info, see: https://ss64.com/nt/taskkill.html

Pete
Title: Re: How to I end a Chrome
Post by: MLambert on July 13, 2018, 09:03:26 am
Hi Pete,

Thank you for the quick response.

I found that I needed to perform SHELL _DONTWAIT "taskkill /F /T /IM chrome.exe"

Regards,

Mike