Windows kill process

Thomas McGrath III mcgrath3 at mac.com
Mon Mar 11 13:48:03 EDT 2013


Ok, so again I have still yet another problem I can't seem to figure out. After I launch my external key trapper app from livecode and then want to quit I can't seem to get it to quit.

I have been trying all of these with what appears to be no luck:

put the itemDelimiter into tItemDelimiter
put the effective filename of this stack into tPath    
set the itemDelimiter to slash
put item 1 to -2 of tPath into tPath
set the itemDelimiter to tItemDelimiter
put tPath & slash & "KeyTrapper.exe" into tKeyTrapperPath
kill QUIT process tKeyTrapperPath
 
or
put the itemDelimiter into tItemDelimiter
put the effective filename of this stack into tPath    
set the itemDelimiter to slash
put item 1 to -2 of tPath into tPath
set the itemDelimiter to tItemDelimiter
put tPath & slash & "KeyTrapper.exe" into tKeyTrapperPath
kill 9 process tKeyTrapperPath

get shell("killall KeyTrapper")
               
get shell("killall KeyTrapper.exe")

get shell("killall keytrapper.exe")
        
kill 9 process "KeyTrapper.exe"


ANy ideas what I'm doing wrong here????

Thank you,

Tom

-- Tom McGrath III
http://lazyriver.on-rev.com
mcgrath3 at mac.com




More information about the Use-livecode mailing list