2012-02-14, 13:58
tria Wrote:Maybe I wasn't clear. Each program has "stdin" (for input from the user), "stdout" (for output from the program, like output in the command line or terminal after running a program), and "stderror" (for outputting any errors, possibly to the terminal). What I saw in that script is that there are all these parameters in the method "Popen" you are using to run the emulators.The parameters are effectively present into subprocess_hack python script but Advanced Launcher do not use them at all. subprocess_hack is a modified version of the official subprocess python script, so it contain a lot functions and parameters that are not used by advanced launcher.
tria Wrote:I want to hook into the "stdout" from your script, and run a program that will possibly output some text into the "stdout" and process it in your script and do further actions based on that output (if there is output).You cannot do this directly with an autoit script?
tria Wrote:What I am asking you for help is how to get the output from the program using "stdout" from that method (I want the commandline/terminal output of running program using Popen method). I need to get it to do further processing in your script (I'll do that myself)If you want information on subprocess : http://docs.python.org/library/subprocess.html