How do you shut down nheqminer from within a script?

how do you shut down nheqminer from within a script?

what operating system?

On Linux do something like: killall -9 nheqminer
check: http://www.linfo.org/killall.html

Thanks. CTRL-C doesn't even work on v0.3

If its windows you can do:

TASKKILL /IM nheqminer.exe

on linux you can use CTRL-Z to put it in background and stop the process
then use fg 1 to get it back