[Biojava-l] Help:Running local ClustalW.exe through java without showing DOS window

Matthew Pocock matthew_pocock@yahoo.co.uk
Mon, 04 Feb 2002 13:23:55 +0000


Subba.Raju wrote:
> Hi,
> did any body tried to run clustalW.exe locally through RunTime (by creating
> process) in java without showing its DOS window.
> I could able to run through process , but DOS window of clustalW is
> appearing on the screen
> My application need  to hide the DOS screen.
> If any body tried it or knows how to do it please let me know.
> Thanks for u r earlier attention
> Subba
> 
> _______________________________________________
> Biojava-l mailing list  -  Biojava-l@biojava.org
> http://biojava.org/mailman/listinfo/biojava-l
> 
> 

I don't know if this will work, but you could try launching the java 
process using javaw rather than java. Javaw is identical to java except 
that it doesn't retain the terminal connection to the command-line. It 
may treat spawned processes differently as well. Failing that, have a 
poke arround in the shell pluggin utility of jedit 
(http://sourceforge.net/projects/jedit) as this can spawn shells & I 
haven't noticed DOS windows lately (though it used to pop them up).

Matthew