cmd - Java capture process output with color -


is there way capture console output process color formatting? capturing output

bufferedreader br = new bufferedreader(new inputstreamreader(p.getinputstream())); 

but cant find way how capture text colors. colored text not start special character or anything.

i printing captured text ui user see log of process hard read. copy colors console.

can done in java? running command in console processbuilder. if run command in commandline see colored text, not in java.

this application going run on windows great if work on linux.


Comments

Popular posts from this blog

python - Operations inside variables -

Generic Map Parameter java -

arrays - What causes a java.lang.ArrayIndexOutOfBoundsException and how do I prevent it? -