Re: Writing to others Process STDIN
- From: "William DePalo [MVP VC++]" <willd.no.spam@xxxxxxxx>
- Date: Tue, 21 Jun 2005 13:31:27 -0400
"Egon Rath" <egon-nospam@xxxxxxxxxxx> wrote in message
news:jjegb1hnjrmg5rmd7o9kfh79l18s9lal4q@xxxxxxxxxx
> On Mon, 20 Jun 2005 19:05:27 +0200, Egon Rath
> <egon-nospam@xxxxxxxxxxx> wrote:
> We are running a application which consists of about 30 open command
> line windows where in each of this windows runs a Java Process.
> Sometimes when a complex bug in this application occurs it's necessary
> to step through all of these windows, enlarge the console buffer to as
> many lines as possible, then press Ctrl-Break, mark the entire output
> (Java Stack Trace), copy each of the output to a text file ... and so
> on....
>
> I want to develop a way of automating this process. Do you have any
> ideas how i could do this with the Win32 API?
I may be missing something but I don't see where the Win32 API figures into
this. The problem is that you want to save the output stream of the Java
processes, no? If so, just redirect their standard output to a file in the
first place with a call like
System.setOut(ps);
where ps is a print stream over a file.
Regards,
Will
.
- References:
- Writing to others Process STDIN
- From: Egon Rath
- Re: Writing to others Process STDIN
- From: Egon Rath
- Writing to others Process STDIN
- Prev by Date: Re: Writing to others Process STDIN
- Next by Date: Re: Generating certificates
- Previous by thread: Re: Writing to others Process STDIN
- Next by thread: void pointers
- Index(es):
Relevant Pages
|