]> Creatis software - bbtk.git/commitdiff
#3249BBTKBugNewNormalbox Exit package std killing application in windows / Linux
authorEduardo DAVILA <eduardo.davila@creatis.insa-lyon.fr>
Fri, 5 Apr 2019 05:55:56 +0000 (07:55 +0200)
committerEduardo DAVILA <eduardo.davila@creatis.insa-lyon.fr>
Fri, 5 Apr 2019 05:55:56 +0000 (07:55 +0200)
packages/std/src/bbstdExit.cxx

index 9ce5ea65158dde885956378753f5691789efe042..1ad9f116c1297cd432ba1976f219134833bfedb3 100644 (file)
@@ -32,7 +32,7 @@ void Exit::Process()
   
   int pid=getpid();
   char tmp[256];
-  sprintf(tmp,"takkill /pid %d /T", pid);
+  sprintf(tmp,"taskkill /pid %d /T", pid);
   system(tmp);
 //     exit( bbGetInputIn() );
 }