Oh cool. Yep, that could be easily used as an indication that the launched
process has completed. That or ps would both work on mac or linux.

so something like

launch "/usr/bin/myprocess"


then a loop that does a shell('ps") then parse the output to make see if
the process is still active.
so
put shell("ps") into tShell
filter tShell with "*myprocess*"
at which point if the number of lines in tShell > 0 its not done yet.
_______________________________________________
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Reply via email to