WARNING: This server is unstable and will be retired in the next days. If you want to keep this forum available, please request immediately a migration on the Nabble Support forum. Forums that don't receive any migration request will be deleted forever.

 « Return to Thread: help with EXEC usage

Re: help with EXEC usage

by Bill-Lancaster :: Rate this Message:

| View in Thread

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

 « Return to Thread: help with EXEC usage