Baltazar Posted February 9, 2009 Report Share Posted February 9, 2009 Svx visiem vai kads varetu paskaidrot....:! Ir .exe fails kas tiek palaists caur exec funkciju windows vide, bet vai ir iespejams so progu izslegt piemeram uzspiezot uz pogas "stop"/! Majaslapa ! Man vienkaris vajag simbolisku piemaru lai saprastu butu pateicigs ! Link to comment Share on other sites More sharing options...
Aleksejs Posted February 9, 2009 Report Share Posted February 9, 2009 Startējot komandu, noskaidro tās procesa id, apstādini ar psutils komplektā esošo pskill programmu, tai padodot pid. Apmēram tāds būtu viens no veidiem kā to izdarīt. Link to comment Share on other sites More sharing options...
Klez Posted February 10, 2009 Report Share Posted February 10, 2009 aptuveni par paskatīties te: http://php.lv/articles/signals.php domāju ka kaut ko līdzīgu var uz win sataisīt Link to comment Share on other sites More sharing options...
cucumber Posted February 11, 2009 Report Share Posted February 11, 2009 Tads risinajums: programmas main loop'a ielikt parbaudi, kura apskatas vainu DB vai faila, vai vinas status nav mainits uz stop, ja ta ir iziet ara no main loopa, lidz ar to programma tiek apstadinata Link to comment Share on other sites More sharing options...
Web Developer Posted February 11, 2009 Report Share Posted February 11, 2009 Ļoti gudrs risinājums, cucumber. Manuprāt, te ir runa par pavisam ko citu... Link to comment Share on other sites More sharing options...
Baltazar Posted February 18, 2009 Author Report Share Posted February 18, 2009 Klez tnx :) Link to comment Share on other sites More sharing options...
Recommended Posts