> I need my app to be able to compile and run a performance test. then
> gather the results and display the results in a relevant way. the
> tests are written in autoHotKey which is a windows scripting program.
> so to run a test all i need to do is call the file from the command
> line.

<snip>

>This does start the test running, but the page does not finish loading
until the tests have finished.
>the tests themselves can call back to the pylons app to record cpu and
memory metrics.
>I guess there must be a NO_WAIT flag or something i can put in to achieve
my goal.

>This page (http://docs.python.org/library/subprocess.html) suggests pid =
Popen(["/bin/mycmd", "myarg"]).pid

Hey Toby [or anyone else], did you ever get anywhere with this? We're in a
similar situation where we have an intranet app that needs to fire off an
external app, collect some information and deliver the info back to the
user. Does anyone have any simple pointers for how to start this as a
separate process but retain some communication with pylons? For example,
having a page update based on the status of the requested action etc? Can
you repeatedly call a controller somehow [so it can check how things are
going and update the page accordingly].

Any help appreciated.

Jules


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"pylons-discuss" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/pylons-discuss?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to