in reply to POE and Win32::Process control
At first glance I think you are using the wrong tools. I think that your task would be done much more simply using threads, but as you have only described the problems you are having with various attempts to achieve your goals with POE, rather than what your actual goals are, it is difficult to judge.
You said:
I want to follow the target process' output. It is extremely important that multiple users cann follow the output. Hence, I need to create an output stream (file stdout.txt)
but it is not clear to me what you mean by: "multiple users cann follow the output"? Do you mean 'follow' as in tail -f?
You want the script to launch a process and you want the script to be able to receive that output, but you also want the other "people", to be able to monitor that output.
How?
Each of these approaches is possible, but which is appropriate depends entirely upon what your requirements are.
And I think any of them would be much simpler done using threads than POE--under win32 at least.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: POE and Win32::Process control
by m-rau (Scribe) on Feb 13, 2005 at 19:03 UTC | |
by BrowserUk (Patriarch) on Feb 13, 2005 at 21:22 UTC | |
by m-rau (Scribe) on Feb 13, 2005 at 21:41 UTC | |
by BrowserUk (Patriarch) on Feb 13, 2005 at 22:14 UTC | |
by m-rau (Scribe) on Feb 14, 2005 at 17:16 UTC | |
|