Thank you,
IF hProc.State = Process.Running THEN
       SHELL ("pidof get_iplayer") TO pid1
       SHELL ("pidof mplayer") TO pid2
       DEBUG pid1;; pid2
       SHELL "kill " & pid1 & " " & pid2
       hProc.Kill()
ENDIF 

To me this is nice code - it works!

Bill
-- 
View this message in context: 
http://old.nabble.com/help-with-EXEC-usage-tp31208112p31245811.html
Sent from the gambas-user mailing list archive at Nabble.com.


------------------------------------------------------------------------------
Enable your software for Intel(R) Active Management Technology to meet the
growing manageability and security demands of your customers. Businesses
are taking advantage of Intel(R) vPro (TM) technology - will your software 
be a part of the solution? Download the Intel(R) Manageability Checker 
today! http://p.sf.net/sfu/intel-dev2devmar
_______________________________________________
Gambas-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/gambas-user

Reply via email to