Re: Writing to others Process STDIN



"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



.



Relevant Pages

  • Re: In the Shallow End
    ... Yes, with Apple finally getting in there, technology is finally moving along nicely again. ... What they like to do is use the Windows desktop as data gathering frontends to these operations. ... They had other plans for Java, ... They make computers for the elite. ...
    (comp.sys.mac.advocacy)
  • Re: what is difference between VB and VB.net
    ... for writing compiled Windows software, ... development) system that allowed for designing a program GUI ... designed for use where Java might ... Win32 API. ...
    (microsoft.public.scripting.vbscript)
  • Re: IE6 javascript & active x not working
    ... > I'm trying to fix a problem on a Windows XP SP1 Compaq computer. ... Where to get the JAVA VM ... Sun also offers an automatic download and install of the 1.4 Java plug-in ... ActiveX problems in IE ...
    (microsoft.public.windows.inetexplorer.ie6.browser)
  • Re: IE6 cannot access secured sites after SP2 install
    ... I installed Windows script 5.6 ... >To download Java VM for XP: ... >Windows Update/Enable the Windows Update Catalog. ... >Sun also offers an automatic download and install of the ...
    (microsoft.public.windows.inetexplorer.ie6.browser)
  • Re: Control Panel Add/Remove Programs shuts down pc
    ... Except for the Hot Fixes and the screw up with Java, ... If you Export the Uninstall key, you can open the .reg file and peruse it ... All that does is remove Installer remnants from the ... don't have it installed under Windows XP ... ...
    (microsoft.public.windowsupdate)