in reply to Re: Redirecting Output From Command Line in Threads
in thread Redirecting Output From Command Line in Threads
Thanks for the valuable assistance. I'm not a Win32 guy by trade, so I'm still trying to absorb much of this info. Someone else I work with reminded me of the issue of threads vs. processes, and I am aware of the difference. As you say, it's semantics, but very important to avoid confusion, so please accept my apologies.
I have applied your suggestions, and now my code is generating a log file for each "child" process. That addresses our primary need. I'm still looking at other options, as a separate log file for each process isn't where we really want to be, but at least we can move forward from here. In the long term I hope to come up with a solution that allows us to launch a large number of essentially simultaneous processes and have the command line output all logged to the same file, but if that isn't doable we will have to live with what we have right now.
Again, thanks for your help.
|
|---|