Hi all,

has anybody successfully done this? Especially on Windows? I would like to 
launch a livecode built application from a liveCode server script and get the 
output back (on a Server that I control) Is that possible? If so, how?

I tried a couple of things to no avail:

  set the shellCommand to "CMD"
  put "<html>"
  put the time
  put "<br />"
  put Quote & "thes.exe" & Quote &&"-ui" into tShell
    get shell(tShell)
    put "Result:" && the result & cr &"It:" && it
    put "<br />"
    open process tShell for binary read
   read from process tShell until EOF
   put "Result:" && the result & cr &"It:" && it
   put "<br />"
  catch theErr
  put theErr
end try
put cr
put the time
put "</html>"

the helper app: In the stack script:

on startup
  send "boo" to me in 500 millisecs
  — to make sure all libs are loaded
end startup

on boo
end boo

on shutdown
  write "boo" to stdout
end shutdown

Thanks for all input I can get…


use-livecode mailing list
Please visit this url to subscribe, unsubscribe and manage your subscription 

Reply via email to