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

ubuntu - PHP script to find files of certain extensions in a directory, returns populated array when run in browser, but empty array when run from terminal -

php - How can i create a user dashboard -

javascript - How to detect toggling of the fullscreen-toolbar in jQuery Mobile? -